TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ozimad on February 20, 2011, 05:04:20 PM

Title: #<VLA-OBJECT from string to entity
Post by: ozimad on February 20, 2011, 05:04:20 PM
helo everyone!
I store #<VLA-OBJECT IAcadBlockReference 10d99d14> as a text/string in block attributes, is there a way to get to the entity(#<VLA-OBJECT IAcadBlockReference 10d99d14>) using the string i have?
thanks!
Title: Re: #<VLA-OBJECT from string to entity
Post by: Lee Mac on February 20, 2011, 05:27:28 PM
Its better to store the Object Handle, as this is unchanged between drawing sessions.

Use: vla-get-handle (or DXF 5), and, to convert back: vla-handletoobject (or handent).