Difference between revisions of "TubeCAD Pro v8-20071002"
(→New Script Commands for the Command Engine) |
(→New Prototype File Handling Abilities) |
||
Line 16: | Line 16: | ||
<br> | <br> | ||
<br> | <br> | ||
+ | |||
+ | Since prototype files are used to initialize the drawing setup to your preferences, this new feature will allow a TubeCAD user to quickly switch from one prototype file to another to switch default blockup, color, linetype information - just by selecting a new prototype TubeCAD file. | ||
===New Script Commands for the Command Engine=== | ===New Script Commands for the Command Engine=== |
Revision as of 20:05, 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.
Since prototype files are used to initialize the drawing setup to your preferences, this new feature will allow a TubeCAD user to quickly switch from one prototype file to another to switch default blockup, color, linetype information - just by selecting a new prototype TubeCAD file.
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