Jump to content

Recommended Posts

Posted

Hi All,

 

Please Help.

 

I have a drawing which I would like to open it and get all objects within it..

If it had been an active document I could have used (ssget) function, since it is not opened is there a way do it.

 

ObjectDBX has an ability to do, but I doubt if it can collect drawing objects such as LWPolylines, Lines etc... with filters such as (ssget "X" '((0 . "LWPOLYLINE) (8 . "Test"))).

 

Please Help..

Thanks and Regards

Posted

You can use ObjectDBX to open the drawing, however, since ObjectDBX does not permit the use of Selection Sets (among other restrictions), you will need to iterate over all objects in the drawing database (using vlax-for), and collect only those with the desired properties (e.g. ObjectName property = AcDbPolyline / Layer Property = Test).

Posted
Thank You So Much!! Lee Mac.

 

You're very welcome, happy to help.

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...