Difference between revisions of "TubeCAD Pro v8-20071002"
(→New Script Commands) |
|||
Line 17: | Line 17: | ||
<br> | <br> | ||
− | ===New Script Commands=== | + | ===New Script Commands for the Command Engine=== |
The NEW Millimeter or NEW INCH buttons in the TubeCAD toolbar (see below) now will use these internal filenames to call up the correct file. (The previous filenames were fixed.) | The NEW Millimeter or NEW INCH buttons in the TubeCAD toolbar (see below) now will use these internal filenames to call up the correct file. (The previous filenames were fixed.) | ||
Line 23: | Line 23: | ||
[[image:Tcadpro_options_newpart_v8-20071002.jpg]] | [[image:Tcadpro_options_newpart_v8-20071002.jpg]] | ||
− | For example, the the blue-ball button above calls out to a script named "presetin.scr". A script is a series of keystrokes that TubeCAD Pro will perform when the script is run. The script takes advantage of the new commands "[options_prototype_in]" and "[options_prototype_mm]". | + | For example, the the blue-ball button above calls out to a script named "presetin.scr". A script is a series of keystrokes that TubeCAD Pro will perform when the script is run. The script takes advantage of the new commands "[options_prototype_in]" and "[options_prototype_mm]" in the command engine. |
These two tokens lookup the current default prototype drawing names (either mm or inches), then reset TubeCAD with these prototype file settings. | These two tokens lookup the current default prototype drawing names (either mm or inches), then reset TubeCAD with these prototype file settings. |
Revision as of 19:53, 2 October 2007
This version of TubeCAD Pro includes these features:
New Prototype File Handling Abilities
The TubeCAD Pro OPTIONS menu FILE TAB now allows you to select a unique prototype file for each unit - Millimeters or Inches. Also, a new set of radio buttons allows you to choose which one of the two prototype files is used to clear TubeCAD Pro when it is started.
New Script Commands for the Command Engine
The NEW Millimeter or NEW INCH buttons in the TubeCAD toolbar (see below) now will use these internal filenames to call up the correct file. (The previous filenames were fixed.)
For example, the the blue-ball button above calls out to a script named "presetin.scr". A script is a series of keystrokes that TubeCAD Pro will perform when the script is run. The script takes advantage of the new commands "[options_prototype_in]" and "[options_prototype_mm]" in the command engine.
These two tokens lookup the current default prototype drawing names (either mm or inches), then reset TubeCAD with these prototype file settings.
Here is the script code for presetin.scr:
multicmdopen
_openprototype
|
"[options_prototype_in]"
multicmdclose
Here is the script code for presetmm.scr:
multicmdopen
_openprototype
|
"[options_prototype_mm]"
multicmdclose