VS:SetDimStd: Difference between revisions
m (1 revision) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:37, 12 August 2013
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Procedure SetDimStd changes the default dimension standard of a VectorWorks document.
Built-in dimension standards are specified using index values of 1 thru 9, corresponding to the dimension standard preference menu. Custom dimensions are specified using indexes 0 thru -8, with 0 being the first custom dimension standard, -1 being the second, and so on.
PROCEDURE SetDimStd(
whichStandard :INTEGER);
def vs.SetDimStd(whichStandard): return None
Parameters
whichStandard INTEGER Dimension standard constant.
Remarks
Changes the document's default dimension standard. The whichStandard parameter specifies which dimension standard to change it to. The nine built-in dimension standards are specified using indexes 1 thru 9, and correspond to the ordering in the dimension standard popup menu. Custom dimensions are specified using indexes 0 thru -8, with 0 being the first custom dimension standard, -1 being the second, and so on.
[sd 8/18/98]
Example
VectorScript
SetDimStd(2); {sets the dimension standard to ASME}
Python
Version
Availability: from MiniCAD4.0