Author Topic: #<VLA-OBJECT from string to entity  (Read 2085 times)

0 Members and 1 Guest are viewing this topic.

ozimad

  • Guest
#<VLA-OBJECT from string to entity
« 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!

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: #<VLA-OBJECT from string to entity
« Reply #1 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).