Jump to content

Access Data Reported by LIST Command


Recommended Posts

Posted

Hey guys,

 

Probably a bit of a long shot I realise.. but is it possible to access/extract the data reported by the LIST command, to be processed by a lisp routine?

 

The LIST command will report some addition data, that ENTGET and VLAX-DUMP-OBJECT will not.

 

See example below, this is the LIST report from a ProSteel element, showing hole quantity & diameter (highlighted):

 

image.png.1ba25405d40b484abe22f49645b18b36.png

 

I am not sure if this is raw AutoCAD that is producing this report, or if it is a ProSteel enhancement of the LIST command.

 

Is there any way to get this data into a LISP routine?  Interested in counting holes and diameter.

 

Thanks for any help.

Posted

Assuming the data cannot be accessed through xdata or an extension dictionary attached to the object, you could potentially obtain the information output by the LIST command by temporarily enabling the command line log file (LOGFILEMODE sys var), issue the LIST command, and then disable the log file and read the content of the file created (LOGFILENAME sys var).

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...