Author Topic: [vb.net] how to get the value of autocad text window list custom object  (Read 1157 times)

0 Members and 1 Guest are viewing this topic.

nasaman

  • Mosquito
  • Posts: 1
[vb.net] how to get  the value of autocad text window list custom object
 
« Last Edit: February 13, 2015, 03:58:40 AM by nasaman »

dgorsman

  • Water Moccasin
  • Posts: 2400
Re: [vb.net] how to get the value of autocad text window list custom object
« Reply #1 on: February 13, 2015, 10:29:15 AM »
Doesn't work that way.  The information is associated with the object, the command history is just reporting on what that command found.

You'll need a way to query the object for the requested information, which will vary based on what the object is.  Note that it may not be exposed for your use.
If you are going to fly by the seat of your pants, expect friction burns.

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

Keith Brown

  • Swamp Rat
  • Posts: 597
Re: [vb.net] how to get the value of autocad text window list custom object
« Reply #2 on: February 13, 2015, 12:56:36 PM »
1. Turn your Log file on.
2. list the object.
3. Turn your Log file off.
4. Parse the file.


It is clunky, but it will work as long as you know what you are looking for.
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013