Author Topic: Vlisp don'y works in advance steel  (Read 4383 times)

0 Members and 1 Guest are viewing this topic.

Lupo76

  • Bull Frog
  • Posts: 343
Vlisp don'y works in advance steel
« on: November 12, 2019, 03:52:17 AM »
Hi,

this simple lisp does not work in AutoCAD Advance Steel.
Can you explain the reason, is there a way to restore vlisp?

Code: [Select]
(defun c:propogg (/ obj vlaobj)
  (vl-load-com)
  (setq obj (car (entsel)))
  (setq vlaobj (vlax-ename->vla-object obj))
  (vlax-dump-object vlaobj T)
)

thanks!

PKENEWELL

  • Bull Frog
  • Posts: 309
Re: Vlisp don'y works in advance steel
« Reply #1 on: November 12, 2019, 11:11:13 AM »
Search the Autodesk Forums as I believe this has been a common problem: https://forums.autodesk.com/t5/advance-steel-forum/3dpolyfillet-lisp-in-advance-steel/td-p/7868229

Check to see if any support paths were lost after the Advanced Steel install.
"When you are asked if you can do a job, tell 'em, 'Certainly I can!' Then get busy and find out how to do it." - Theodore Roosevelt

Lupo76

  • Bull Frog
  • Posts: 343
Re: Vlisp don'y works in advance steel
« Reply #2 on: November 12, 2019, 12:56:54 PM »
Hi,
lisp is very simple and is not a problem of search paths, at least I think.
I did some research but I didn't find anything useful on the autodesk site.

It seems that only simple lisp functions work, while vlisp functions that need (vl-load-com) don't work.

Some idea?


Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: Vlisp don'y works in advance steel
« Reply #3 on: November 12, 2019, 04:02:10 PM »
Hi,
lisp is very simple and is not a problem of search paths, at least I think.
I did some research but I didn't find anything useful on the autodesk site.

It seems that only simple lisp functions work, while vlisp functions that need (vl-load-com) don't work.

Some idea?
https://knowledge.autodesk.com/support/advance-steel/troubleshooting/caas/sfdcarticles/sfdcarticles/Advance-Steel-Documentation-about-LISP-for-Advance-Steel-product.html

BIGAL

  • Swamp Rat
  • Posts: 1396
  • 40 + years of using Autocad
Re: Vlisp don'y works in advance steel
« Reply #4 on: November 12, 2019, 08:14:36 PM »
Sounds like the MAC version no VL, what does (entget (car (entsel))) do.
A man who never made a mistake never made anything

Lupo76

  • Bull Frog
  • Posts: 343
Re: Vlisp don'y works in advance steel
« Reply #5 on: November 13, 2019, 06:07:32 AM »
https://knowledge.autodesk.com/support/advance-steel/troubleshooting/caas/sfdcarticles/sfdcarticles/Advance-Steel-Documentation-about-LISP-for-Advance-Steel-product.html

So if I understand correctly, it's not an installation problem.
In other words, do you confirm that Advance Steel does not support VLISP?
This is very strange being an Autodesk product with AutoCAD Full engine.  :-o

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: Vlisp don'y works in advance steel
« Reply #6 on: November 13, 2019, 07:17:58 AM »
https://knowledge.autodesk.com/support/advance-steel/troubleshooting/caas/sfdcarticles/sfdcarticles/Advance-Steel-Documentation-about-LISP-for-Advance-Steel-product.html

So if I understand correctly, it's not an installation problem.
In other words, do you confirm that Advance Steel does not support VLISP?
This is very strange being an Autodesk product with AutoCAD Full engine.  :o
Yes,
"There is no specific LISP documentation to be used for Advance Steel product. Also, the Advance Steel Visual Lisp is not supported anymore since AS 2014 version."  :(

PKENEWELL

  • Bull Frog
  • Posts: 309
Re: Vlisp don'y works in advance steel
« Reply #7 on: November 13, 2019, 11:03:22 AM »
"There is no specific LISP documentation to be used for Advance Steel product. Also, the Advance Steel Visual Lisp is not supported anymore since AS 2014 version."  :(

Honestly - I read that same article and it left me somewhat confused: do they mean that ALL Visual LISP doesn't work, or that the specific Advanced steel API objects don't work? This was not the best witten support documentation.
"When you are asked if you can do a job, tell 'em, 'Certainly I can!' Then get busy and find out how to do it." - Theodore Roosevelt

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: Vlisp don'y works in advance steel
« Reply #8 on: November 13, 2019, 11:12:06 AM »
"There is no specific LISP documentation to be used for Advance Steel product.Also, the Advance Steel Visual Lisp is not supported anymore since AS 2014 version."  :(

Honestly - I read that same article and it left me somewhat confused: do they mean that ALL Visual LISP doesn't work, or that the specific Advanced steel API objects don't work? This was not the best witten support documentation.
See: "We highly recommend you to use Advance Steel API (COM or .NET) and / or Dynamo for Advance Steel to develop applications or routines for Advance Steel product."

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Vlisp don'y works in advance steel
« Reply #9 on: November 13, 2019, 02:52:29 PM »
Which would point to the page being API documentation.

What happens when you "run as AutoCAD"?  Still no VLISP?
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

BIGAL

  • Swamp Rat
  • Posts: 1396
  • 40 + years of using Autocad
Re: Vlisp don'y works in advance steel
« Reply #10 on: November 16, 2019, 12:23:19 AM »
The Mac version runs as "Autocad" no VL. Big disappointment.

Back to me what does (entget (car (entsel))) retrieve.

Had a look at Dynamo but as its not in Autocad hard to tell looked straight forward not sure how you save the "macros" if that's what they are.
« Last Edit: November 16, 2019, 12:31:07 AM by BIGAL »
A man who never made a mistake never made anything