TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Lupo76 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?
(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!
-
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 (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.
-
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?
-
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 (https://knowledge.autodesk.com/support/advance-steel/troubleshooting/caas/sfdcarticles/sfdcarticles/Advance-Steel-Documentation-about-LISP-for-Advance-Steel-product.html)
-
Sounds like the MAC version no VL, what does (entget (car (entsel))) do.
-
https://knowledge.autodesk.com/support/advance-steel/troubleshooting/caas/sfdcarticles/sfdcarticles/Advance-Steel-Documentation-about-LISP-for-Advance-Steel-product.html (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
-
https://knowledge.autodesk.com/support/advance-steel/troubleshooting/caas/sfdcarticles/sfdcarticles/Advance-Steel-Documentation-about-LISP-for-Advance-Steel-product.html (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." :(
-
"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.
-
"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."
-
Which would point to the page being API documentation.
What happens when you "run as AutoCAD"? Still no VLISP?
-
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.