DimStyle for MoxyDraw

Creates, erases, modifies, renames or sets dimstyles.


Syntax to create a dimension style:

DimStyle
new
dimstyle name
units
scale
unit format
unit prec.
round prec.
alt. units format
alt. units prec.
alt. units mult.

new:

Creates a new dimension style and SETS it current.

dimstyle name:

Sets the dimension style to create.

units:

Optional. Sets the dimstyle to be units IN (Standard) or MM (ISO-25). If omitted, it will be set to IN.

Variables automatically set when selecting main units are:

Alternate tolerance precision (DIMALTTD); in = 2; mm = 3;

Arrow size (DIMASZ); in = 0.18; mm = 2.5;

Center mark size (DIMCEN); in = 0.09; mm = 2.5;

Decimal separator (DIMDSEP); in = . ; mm = , ;

Dim line forced (DIMTOFL); in = Off; mm = On;

Dim line spacing (DIMDLI); in = 0.38; mm = 3.75;

Ext line extension (DIMEXE); in = 0.18; mm = 1.25;

Ext line offset (DIMEXO); in = 0.0625; mm = 0.625;

Text height (DIMTXT); in = 0.18; mm = 2.5;

Text inside align (DIMTIH); in = On; mm = Off;

Text offset (DIMGAP); in = 0.09; mm = 0.625;

Text outside align (DIMTOH); in = On; mm = Off;

Text position vertical (DIMTAD); in = 0; mm = 1;

Tolerance position vertical (DIMTOLJ); in = 1; mm = 0;

Tolerance precision (DIMTDEC); in = 4; mm = 2;

Tolerance zero suppression (DIMTZIN); in = 0; mm = 8;

Zero suppression (DIMZIN); in = 0; mm = 8;

All other variables are the same for both unit systems.

scale:

Optional. (Dimscale) Sets the main units scale. If omitted, it will be set to 1.

unit format:

Optional. (Dimlunit) Sets units for all dimension types except Angular. If omitted, it will be set to 2. Here are the available options:

1 = Scientific

2 = Decimal

3 = Engineering

4 = Architectural (always displayed stacked)

5 = Fractional (always displayed stacked)

6 = Microsoft Windows Desktop (decimal format using Control Panel settings for decimal separator and number grouping symbols)

unit prec.:

Optional. (Dimdec) Sets the number of decimal places displayed for the primary units of a dimension. If omitted, it will be set to 4.

round prec:

Optional. (Dimrnd) Rounds all dimensioning distances to the specified value. If omitted, it will be set to 0.

alt. units format:

Optional. (Dimaltu) Sets the units format for alternate units of all dimension sub-styles except Angular. ** Automatically set the alternate dimensions on. **. If omitted, it will be set to 2. Here are the available options:

1 = Scientific

2 = Decimal

3 = Engineering

4 = Architectural (always displayed stacked)

5 = Fractional (always displayed stacked)

6 = Fractional

7 = Architectural

8 = Microsoft Windows Desktop (decimal format using Control Panel settings for decimal separator and number grouping symbols)

alt. units prec.:

Optional. (Dimaltd) Sets the number of decimal places in alternate units. ** Automatically set the alternate dimensions on. **. If omitted, it will be set to 2.

alt. units mult.:

Optional. (Dimaltf) Controls the multiplier for alternate units.** Automatically set the alternate dimensions on. **. If omitted, it will be set to 25.4.

Variables automatically set when selecting main units are:

Alternate tolerance precision (DIMALTTD); in = 2; mm = 3;

Arrow size (DIMASZ); in = 0.18; mm = 2.5;

Center mark size (DIMCEN); in = 0.09; mm = 2.5;

Decimal separator (DIMDSEP); in = . ; mm = , ;

Dim line forced (DIMTOFL); in = Off; mm = On;

Dim line spacing (DIMDLI); in = 0.38; mm = 3.75;

Ext line extension (DIMEXE); in = 0.18; mm = 1.25;

Ext line offset (DIMEXO); in = 0.0625; mm = 0.625;

Text height (DIMTXT); in = 0.18; mm = 2.5;

Text inside align (DIMTIH); in = On; mm = Off;

Text offset (DIMGAP); in = 0.09; mm = 0.625;

Text outside align (DIMTOH); in = On; mm = Off;

Text position vertical (DIMTAD); in = 0; mm = 1;

Tolerance position vertical (DIMTOLJ); in = 1; mm = 0;

Tolerance precision (DIMTDEC); in = 4; mm = 2;

Tolerance zero suppression (DIMTZIN); in = 0; mm = 8;

Zero suppression (DIMZIN); in = 0; mm = 8;

All other variables are the same for both unit systems.

Notes:

• To set any other variables related to dimensioning, see command "SETVAR".

• If the dimstyle already exists, it will be set current without being modified.





Syntax to erase a dimension style:

DimStyle
erase
dimstyle name

erase:

Sets the erase operation.

dimstyle name:

Sets the dimension style to erase.





Syntax to modify a dimension style:

DimStyle
modify
dimstyle name
units
scale
unit format
unit prec.
round prec.
alt. units format
alt. units prec.
alt. units mult.

new:

Modifies an existing dimension style.

dimstyle name:

Sets the existing dimension style to modify.

scale:

Optional. (Dimscale) Sets the main units scale. If omitted, it will be set to 1.

unit format:

Optional. (Dimlunit) Sets units for all dimension types except Angular. If omitted, it will be set to 2. Here are the available options:

1 = Scientific

2 = Decimal

3 = Engineering

4 = Architectural (always displayed stacked)

5 = Fractional (always displayed stacked)

6 = Microsoft Windows Desktop (decimal format using Control Panel settings for decimal separator and number grouping symbols)

unit prec.:

Optional. (Dimdec) Sets the number of decimal places displayed for the primary units of a dimension. If omitted, it will be set to 4.

round prec:

Optional. (Dimrnd) Rounds all dimensioning distances to the specified value. If omitted, it will be set to 0.

alt. units format:

Optional. (Dimaltu) Sets the units format for alternate units of all dimension sub-styles except Angular. ** Automatically set the alternate dimensions on. **. If omitted, it will be set to 2. Here are the available options:

1 = Scientific

2 = Decimal

3 = Engineering

4 = Architectural (always displayed stacked)

5 = Fractional (always displayed stacked)

6 = Fractional

7 = Architectural

8 = Microsoft Windows Desktop (decimal format using Control Panel settings for decimal separator and number grouping symbols)

alt. units prec.:

Optional. (Dimaltd) Sets the number of decimal places in alternate units. ** Automatically set the alternate dimensions on. **. If omitted, it will be set to 2.

alt. units mult.:

Optional. (Dimaltf) Controls the multiplier for alternate units.** Automatically set the alternate dimensions on. **. If omitted, it will be set to 25.4.

Notes:

To set any other variables related to dimensioning, see command "SETVAR".





Syntax to rename a dimension style:

DimStyle
rename
dimstyle name
dimstyle new name

rename:

Sets the rename operation.

dimstyle name:

Sets the dimension style to rename.

dimstyle new name:

Sets the dimension style new name.





Syntax to set a dimension style:

DimStyle
set
dimstyle name

set:

Sets the set operation.

dimstyle name:

Sets the dimension style to be current.