Tom,
(if (desired textstyle)
(set textstyle as current)
(create textstyle)
);endIF
Now, lets have a closer look at this efficiency...
Program Writing Design Guidelines:
1) Do an internal search of the font style before going to exterior sources.
2) When no style is internally found, the support path is automatically used
in conjunction with the style command.
Please note the following conditions may be true:
a) Font file desired is not in support path.
b) When user input, font may be misspelled (create a list of choices instead).
Now we have to protect the program from crashing due to the possible errors shown above.
Employ FINDFILE first, to see if file exists, before starting the style command.
Create a prompt or alert message when the font file does not exist in the support path.
======================================
Now, to create a realistic environment, the following has been simplified for this example:
a) We have Five major divisions in our symbol library.
Each folder is declared in the support path and each folder contains 100 files.
b) We also have a "SHX" font folder with over 150 files.
c) We also have a "True Type Font" folder with over 500 files.
d) Other standard support path items can be summed up to around 50 files.
The threads you mention will have to browse some 1200 external files each time this font is called forward.
Now may I ask you what geometry is the most efficient?
======================================
The successful creation of this macro will not require an error handler.
Since no error handler, place macro in the "MNL" file.
======================================
My environment can instantly toggle between Drawing Scales while remaining in the same file!
We can have up to three unique drawing scales, which requires a minimum of four settings
to align for each drawing scale. One of these is the TEXTSTYLE switch.
The base drawing scale can be set to a minimum of 5 unique (permanent) drawing scales.
The other two unique drawing scales have 5 choices also.
This equals 125 possible combinations of drawing scales available in one drawing file!
Publishing the document will yield consistent text heights regardless of scale.
Scot-6
Message was edited by: Scot-65
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.