Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

Description

DimTextMixin is a mixin containing rules that can be used by other designs—but see Note, below.

We do not use it alone, we use it to add the rules to other designs. NOTE: presently there are no UI designs that use this mixin (see below).

Although this mixin is not mixed into LinearDimension, LinearDimension has these same rules and formulas.

Parameter Rules

 

textAlignment: Dimension text alignment.
Example:'horizontal';
Choices:'horizontal', 'vertical', 'aligned'

 

textHeight: Text height.
Example:0.125;

 

textLocation: Location of the dimension text.
Example:'auto';
Choices:'auto','inside','outside'

 

textPlacement: Text placement in relationship to the dimension lines.
Example:'centered';
Choices:'centered','above','below'

 

textSide: Used only when textLocation is set to or determined to be "outside".
Example:'toside';
Choices:'toside','fromside'

 

dimPrefix: This will put text or a symbol in front of the dimension.
Example:String.fromCharCode(0x2014);

LinearDimension3

 

dimSuffix: This will put text or a symbol at the back of the dimension.
Example:'-vertical';

LinearDimension4

 

isDimTextMultiline: Dimension text multi line. Not working at this writing.
Example:false

 

showTextBorder: If set to true, will display a tight border around the dimension text.
Example:true;

LinearDimension5

 

 

Mixins

None

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

textAlignment

string

'horizontal'

Inputs

Cached
Parameter

textHeight

number

0.125;

Inputs

Cached
Parameter

Lookup

textLocation

string

'auto'

Inputs

Cached
Parameter

textPlacement

string

'centered'

Inputs

Cached
Parameter

textSide

string

'toside'

Inputs

Cached
Parameter

dimPrefix

string

''

Text

Cached
Parameter

dimSuffix

string

''

Text

Cached
Parameter

isDimTextMultiline

boolean

false

Text

Cached
Parameter

showTextBorder

boolean

false

Text

Cached
Parameter

Lookup

 

 

kBridgeExampleIcon

 

 

 

 

UI Designs that use the DimensionTextMixin:

Although this mixin is not mixed into LinearDimension, LinearDimension has these same rules and formulas.

 

 

 

 

 

 

 

 

 

 

 

 

 

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment