Jump to content

Anyway to bypass this error?


Accoes

Recommended Posts

Try this out

 
(vl-load-com)
(setq sset (ssget))
(setq vla-sset (vla-get-activeselectionset(vla-get-activedocument (vlax-get-acad-object))))
(vlax-for obj vla-sset
;;;do your work with every object (obj) in selection here
)

Link to comment
Share on other sites

Follow the directions explained in this tutorial to use the Visual LISP IDE to get information about how to use a function, including the arguments and returns for that function.

Link to comment
Share on other sites

Let me explain a little.Our soft comes with a .dll for properties in Autocad.I wanted to see if I unloaded this ,how much of the object properties I could see with a dump.The dump works as long as the .dll is loaded. I guess what I'm asking is if this .dll is not loaded is the object carrying these properties still? I cannot tell due to the ename stuff.

Edited by Accoes
added question
Link to comment
Share on other sites

I was using your (dump) Lisp Lee.If you notice it was asking for the ename and errored.Dxf ?

 

The dxf version gives me the same results as (entget(car(entsel))).The vlax-dump provides additional info .

Edited by Accoes
Link to comment
Share on other sites

I was using your (dump) Lisp Lee.If you notice it was asking for the ename and errored.Dxf ?

 

My function: 'LMDump' will take a VLA-Object, Entity name, or DXF Association List and print the ActiveX Properties and Methods associated with the object in question.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...