Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.24 KB

File metadata and controls

44 lines (31 loc) · 1.24 KB

SetDimStd

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

Name Type Description
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]

Examples

==== VectorScript ====

SetDimStd(2);

{sets the dimension standard to ASME}

==== Python ====

Version

Availability: from MiniCAD4.0

Category

  • Document Settings