aaryan Posted February 6, 2013 Posted February 6, 2013 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 Quote
Lee Mac Posted February 6, 2013 Posted February 6, 2013 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). Quote
nod684 Posted February 7, 2013 Posted February 7, 2013 have you tried Lee Mac's Steal from Drawing lisp routine? Quote
Lee Mac Posted February 7, 2013 Posted February 7, 2013 Thank You So Much!! Lee Mac. You're very welcome, happy to help. Quote
Recommended Posts
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.