(demandload = 3)
what does it mean (demandload value 3... contains custom or when you invoke on of the applications commands)
vlax-dump-objects works fine
inspect request works with normaly Acadobjects (line, arc, circle...) yesterday it works also by AeccDbPipe-objects from Civil but today I get error-message
This solution unfreeze all Pipes in drawing, but itīs not so usefull, I want select on screen in ca. position or type a name, maybe some Civil-guys have a better way to do that.
(if (setq ss (ssget "X" '((8 . "VA-LEDN"))))
(progn
(repeat (sslength ss)
(setq vEnt (vlax-ename->vla-object (ssname ss (setq i (1+ i)))))
(vlax-put-property vEnt 'Visible :vlax-true)
(cond
((= (vla-get-objectname vEnt) "AeccDbPipe")
(setq desc (vlax-get-property vEnt 'Description))
(setq disp (vlax-get-property vEnt 'DisplayName))
(princ (strcat
"\nPipe"
"\nDescription: " desc
"\nName: " disp
)
)
(setq z (1+ z))
)
)
)
(alert (strcat (itoa z) " Pipes found on Layer 'VA-LEDN'"))
)
)