TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: JohnSnow on June 14, 2022, 01:38:50 AM
-
I am using a standalone autocad plugin (using arx I guess?) developed by others. . It will then brings me to autocad environment as shown below.
It allows me add customized items and when I check the properties of these items, I can see there is new customized entity type. I believe this is not possible with lisp (I guess it is by .net). Anyway, does anyone have any idea how to achieve this?
-
This is not possible using the LISP API.
-
Also not possible with .NET. Custom entities are created with ObjectARX and c++
-
It is like a proxy object in some cases can get at some of the details. But generally not exposed.
What does this reveal.
;;;===================================================================;
;;; DumpIt ;
;;;-------------------------------------------------------------------;
;;; Dump all methods and properties for selected objects ;
;;;===================================================================;
(defun C:Dumpit ( / ent)
(while (setq ent (entsel))
(vlax-Dump-Object
(vlax-Ename->Vla-Object (car ent))
)
)
(princ)
)