Author Topic: is there a was to read vla objects?  (Read 1217 times)

0 Members and 1 Guest are viewing this topic.

andrew_nao

  • Guest
is there a was to read vla objects?
« on: March 05, 2013, 02:51:17 PM »
if you goti a variable like so

#<VLA-OBJECT _Application 0000000038f4a688>

is there a way to see whats "inside" of it

like how you can see the dxf codes inside a selection set?

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: is there a was to read vla objects?
« Reply #1 on: March 05, 2013, 02:52:45 PM »
Take a dump   ^-^ :  (vlax-dump-object ...).  There's a second argument which controls whether available methods are shown as well.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

andrew_nao

  • Guest
Re: is there a was to read vla objects?
« Reply #2 on: March 05, 2013, 03:04:31 PM »
thanks

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: is there a was to read vla objects?
« Reply #3 on: March 06, 2013, 06:49:41 AM »
Take a dump   ^-^ :  (vlax-dump-object ...).  There's a second argument which controls whether available methods are shown as well.

lol

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: is there a was to read vla objects?
« Reply #4 on: March 06, 2013, 08:53:43 AM »
With regard to that, when you get the results, depending on what your doing you may have to interpolate the result.  As an example, Lee posted some code for selecting a particular object, which when I dumped the object, it was AcDbText.  Lee's routine was looking for the type, which turned out to be "Text" (DXF code 0).
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)