TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
All posts discussing pricing or where to buy TurboCAD will be deleted.

VBScript creates annotated text dump of one selected object
Read 3438 times
* June 02, 2009, 07:36:41 PM
The attached vbscript will create a text file with a comprehensive list of all the properties, attributes, vertices, and child graphics of one selected graphic. This should prove useful for anyone who wants to explore the composition of a particular object or type of object, or if you need the facet data for a solid.

Usage:
Unzip the vbs file into a folder of your choice.
Open TurboCAD, open a drawing, and select one or more objects (only one object will be processed if you select more than one).
Right-click on the vbs file and choose Open. (If Windows asks what program to open the file with, browse to c:\Windows\System32\wscript.exe.)
The script will tell you where to find the output file when it is done.

Limitations:
The script does not work from within TurboCAD's Macro Recorder Palette.

As always, comments and suggestions for improvements are welcome (as are contributions of improved versions).

[attachment deleted by admin]

Logged