Interface WDimension
Description
Extends the functionality of
DimensionThis is the actual type of Dimension Items in Object Toolkit.
ShowInDrawing,
Display,
DisplayInDrawing,
Undisplay,
UndisplayInDrawing,
IsShown,
Update,
GetTextStyle,
SetTextStyle,
GetTextStyleInDrawing,
SetTextStyleInDrawing,
UpdateAttachment,
UpdatePosition,
IsAssociative,
GetAttachmentAssociativity,
GetAnnotationElement,
IsInactive,
Rotate,
ConvertLegacy,
NeedsConversion,
GetSecurityMarking,
SetSecurityMarking,
IsUsingXSecReference Method Summary
void | |
| Add dimension references. |
boolean | |
| |
| |
| LICENSE: 222 |
void | |
| LICENSE: 222 |
void | |
| LICENSE: 222 |
void | |
| LICENSE: 222 |
void | |
| Delete dimension reference. |
void | |
| LICENSE: 222 |
void | |
| |
void | |
| |
| |
| Get dimension references. |
| |
| LICENSE: 222 |
| |
| LICENSE: 222 |
| |
| |
| |
| |
| |
| LICENSE: 222 |
| |
| Obtains the dimension configuration. |
/*optional*/ Integer | |
| |
| |
| LICENSE: 222 |
| |
| LICENSE: 222 |
| |
| |
/*optional*/ Double | |
| |
/*optional*/ Double | |
| |
double | |
| |
| |
| |
| |
| Get display format of dimension. |
| |
| Gets the dual dimension display options. |
| |
| Get the envelope of a line in a specified dimension. For getting coordinates of dimension displayed in solid and same dimension is displayed in drawing then drawing should not be active. |
| |
| LICENSE: 222 Returns the arrow type used for first dimension arrow. |
double | |
| |
| |
| LICENSE: 222 |
| |
| LICENSE: 222 |
/*optional*/ Integer | |
| Identify if dimension has an origin side |
/*optional*/ Double | |
| |
| |
| |
| |
| Retrieves the parent dimension of the value dependent dimension. |
/*optional*/ String | |
| |
| |
| LICENSE: 222 Returns the arrow type used for second dimension arrow. |
/*optional*/ Integer | |
| |
/*optional*/ String | |
| |
| |
| |
boolean | |
| |
boolean | |
| LICENSE: 222 |
boolean | |
| |
boolean | |
| |
boolean | |
| LICENSE: 222 |
boolean | |
| |
boolean | |
| |
boolean | |
| LICENSE: 222 |
boolean | |
| Identifies if the dimension always uses a true sign. |
boolean | |
| |
void | |
| LICENSE: 222 |
void | |
| LICENSE: 222 |
void | |
| LICENSE: 222 |
void | |
| LICENSE: 222 |
void | |
| |
void | |
| |
void | |
| |
void | |
| |
void | |
| LICENSE: 222 |
void | |
| Assigns the dimension configuration. |
void | |
| |
void | |
| |
void | |
| LICENSE: 222 |
void | |
| |
void | |
| Set display format of dimension. |
void | |
| Sets the dual dimension display using specified options. |
void | |
| |
void | |
| LICENSE: 222 |
void | |
| LICENSE: 222 |
void | |
| Sets origin side to dimension. |
void | |
| |
void | |
| |
void | |
| |
void | |
| |
void | |
| |
Method Detail
GetNominalValue |
double | GetNominalValue | () |
User Guide References:
Returns:
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Model
DimBound
Returns:
User Guide References:
Returns:
GetSymbolModeText |
| GetSymbolModeText | () |
User Guide References:
Returns:
IsFractional |
boolean | IsFractional | () |
User Guide References:
Returns:
GetSignificantDigits |
/*optional*/ Integer | GetSignificantDigits | (boolean Tolerance) |
Exceptions thrown (but not limited to):
XToolkitNotFound- The number of decimals is driven by the number of decimals for the dimension.
User Guide References:
Parameters:
Tolerance
Returns:
SetSignificantDigits |
void | SetSignificantDigits | (int Digits, boolean Tolerance) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Digits
Tolerance
Returns:
GetDenominator |
/*optional*/ Integer | GetDenominator | (boolean Tolerance) |
Exceptions thrown (but not limited to):
XToolkitNotFound- The denominator is driven by the denominator for the dimension.
User Guide References:
Parameters:
Tolerance
Returns:
SetDenominator |
void | SetDenominator | (int Denominator, boolean Tolerance) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Denominator
Tolerance
Returns:
CanRegenerate |
boolean | CanRegenerate | |
User Guide References:
Parameters:
Drw
Returns:
GetPrefix |
/*optional*/ String | GetPrefix | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
SetPrefix |
void | SetPrefix | (String Prefix) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Prefix
Returns:
GetSuffix |
/*optional*/ String | GetSuffix | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
SetSuffix |
void | SetSuffix | (String Suffix) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Suffix
Returns:
IsToleranceDisplayed |
boolean | IsToleranceDisplayed | () |
User Guide References:
Returns:
User Guide References:
Returns:
IsInspection |
boolean | IsInspection | () |
User Guide References:
Returns:
SetAsInspection |
void | SetAsInspection | (boolean Inspection) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Inspection
Returns:
SetAsBasic |
void | SetAsBasic | (boolean Basic) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Basic
Returns:
GetOwnerFeature |
| GetOwnerFeature | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
GetDisplayedValue |
double | GetDisplayedValue | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
GetDisplayedUpperLimitTolerance |
/*optional*/ Double | GetDisplayedUpperLimitTolerance | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
GetDisplayedLowerLimitTolerance |
/*optional*/ Double | GetDisplayedLowerLimitTolerance | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
DisplayValueAsRounded |
void | DisplayValueAsRounded | (boolean Value) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Value
Returns:
IsDisplayedValueRounded |
boolean | IsDisplayedValueRounded | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
GetOverrideValue |
/*optional*/ Double | GetOverrideValue | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
SetOverrideValue |
void | SetOverrideValue | (double Value) |
User Guide References:
Parameters:
Value
Returns:
GetDisplayedValueType |
| GetDisplayedValueType | () |
User Guide References:
Returns:
SetDisplayedValueType |
void | SetDisplayedValueType | |
User Guide References:
Parameters:
DisplayValueType
Returns:
SetElbowLength |
void | SetElbowLength | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
ElbowLength
Drw
Returns:
GetChamferLeaderStyle |
| GetChamferLeaderStyle | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drw
Returns:
SetChamferLeaderStyle |
void | SetChamferLeaderStyle | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
ChamferLeaderStyle
Drw
Returns:
GetConfiguration |
| GetConfiguration | |
Obtains the dimension configuration.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drw
Optional - The Drawing if dimension belongs to a drawing.
Returns:
wfcDimLeaderConfig - Dimension leader configuration
SetConfiguration |
void | SetConfiguration | |
Assigns the dimension configuration.
User Guide References:
Parameters:
Config
Dimension leader configuration to assign.
Drw
Optional - The Drawing if dimension belongs to a drawing.
Returns:
IsSignDriven |
boolean | IsSignDriven | () |
Identifies if the dimension always uses a true sign.
Note:for dimensions which use the sign to flip the direction, this behavior can be overridden by setting the config option 'show_dim_sign' to 'yes'. By default it is set to 'no'.
User Guide References:
Returns:
xbool - boolean indicating if dimension is sign driven or not.
CreateSimpleBreak |
void | CreateSimpleBreak | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
BreakStart
BreakEnd
WitnessLineIndex
Drawing
Returns:
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
JogPoints
WitnessLineIndex
Drawing
Returns:
GetDimLocation |
| GetDimLocation | |
Exceptions thrown (but not limited to):
XToolkitNotDisplayed- The function succeeded, but only after internally selecting a default orientation where one was not supplied, for a dimension which could have different locations given different views. This error can only occur if both drawing and view are NULL.
Parameters:
Drawing
View
Returns:
GetFirstDimArrowType |
| GetFirstDimArrowType | |
Returns the arrow type used for first dimension arrow.
Parameters:
Drawing
The drawing handle. Passnullif not using a drawing.
View
The orientation of the model that will be applied before determining the arrow type. Pass nullto use the current model view, if the model is current, or a default model orientation otherwise. Pass nullif using a drawing.
Returns:
The arrow type for first dimension arrow.
GetSecondDimArrowType |
| GetSecondDimArrowType | |
Returns the arrow type used for second dimension arrow.
Parameters:
Drawing
The drawing handle. Passnullif not using a drawing.
View
The orientation of the model that will be applied before determining the arrow type. Pass nullto use the current model view, if the model is current, or a default model orientation otherwise. Pass nullif using a drawing.
Returns:
The arrow type for second dimension arrow.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
IsDriving |
boolean | IsDriving | () |
User Guide References:
Returns:
SetAnnotationPlane |
void | SetAnnotationPlane | |
Exceptions thrown (but not limited to):
XToolkitNotValid- For a driving dimension annotation element, the annotation orientation provided is not frozen.
User Guide References:
Parameters:
Plane
Returns:
GetAnnotationPlane |
| GetAnnotationPlane | () |
User Guide References:
Returns:
Parameters:
Location
Returns:
IsBaseline |
boolean | IsBaseline | () |
User Guide References:
Returns:
IsAccessibleInModel |
boolean | IsAccessibleInModel | () |
User Guide References:
Returns:
SetOrdinateStandard |
void | SetOrdinateStandard | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Standard
Returns:
GetOrdinateStandard |
| GetOrdinateStandard | () |
User Guide References:
Returns:
IsOrdinate |
boolean | IsOrdinate | () |
User Guide References:
Returns:
GetBaselineDimension |
| GetBaselineDimension | () |
User Guide References:
Returns:
CreateAnnotationElement |
| CreateAnnotationElement | |
Exceptions thrown (but not limited to):
XToolkitInvalidItem- This type of driving dimension is not suitable for incorporation into a driving dimension annotation element.
User Guide References:
Parameters:
Plane
Returns:
DeleteAnnotationElement |
void | DeleteAnnotationElement | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
GetChamferStyle |
| GetChamferStyle | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
Returns:
SetChamferStyle |
void | SetChamferStyle | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
ChamferStyle
Drawing
Returns:
GetDimensionAttachPoints |
| GetDimensionAttachPoints | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
GetDimensionSenses |
| GetDimensionSenses | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
GetOrientationHint |
| GetOrientationHint | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
SetDimensionAttachPoints |
void | SetDimensionAttachPoints | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
DimAttachments
DimSenses
OrientHint
AnnotPlane
Returns:
EraseWitnessLine |
void | EraseWitnessLine | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
WitnessLineIndex
Drawing
Returns:
ShowWitnessLine |
void | ShowWitnessLine | |
Exceptions thrown (but not limited to):
XToolkitNoChange- The dimension witnessline could not be shown or input dimension does not have erased witnessline.
User Guide References:
Parameters:
Drawing
Returns:
SetOrdinateReferences |
void | SetOrdinateReferences | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
DimAttachment
DimSenses
OrientHint
Returns:
OrdinateDimensionToLinear |
void | OrdinateDimensionToLinear | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
LinearDimensionToOrdinate |
void | LinearDimensionToOrdinate | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Dimension
Returns:
SetDimensionArrowType |
void | SetDimensionArrowType | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
ArrowIndex
ArrowType
Drawing
Returns:
GetParentDimension |
| GetParentDimension | () |
Retrieves the parent dimension of the value dependent dimension.
Returns:
The parent dimension.
GetOriginSide |
/*optional*/ Integer | GetOriginSide | () |
Identify if dimension has an origin side
Returns:
The witness line index: 1 or 2. Returns -1 if dimension has no origin side.
SetOriginSide |
void | SetOriginSide | (int WitnessLineIndex) |
Sets origin side to dimension.
Parameters:
WitnessLineIndex
The witness line index: 1 or 2. Pass -1 to remove origin set on either side.
Returns:
GetDualOptions |
| GetDualOptions | |
Gets the dual dimension display options.
Parameters:
Drw
The drawing handle. Pass nullif not using a drawing.
Returns:
The dual dimension instructions object.
SetDualOptions |
void | SetDualOptions | |
Sets the dual dimension display using specified options.
Parameters:
Drw
The drawing handle. Pass nullif not using a drawing.
DDInst
The dual dimension instructions object.
Returns:
GetDisplayFormat |
| GetDisplayFormat | () |
Get display format of dimension.
Returns:
The dimension display format type.
SetDisplayFormat |
void | SetDisplayFormat | |
Set display format of dimension.
Parameters:
Format
The dimension display format type.
Returns:
GetAdditionalReferences |
| GetAdditionalReferences | |
Get dimension references.
Parameters:
RefType
The type of dimension reference.
Returns:
Sequence of additional references.
AddAdditionalReferences |
void | AddAdditionalReferences | |
Add dimension references.
Parameters:
RefType
The type of dimension reference.
Refs
Sequence of additional references to add.
Returns:
DeleteAdditionalReferences |
void | DeleteAdditionalReferences | |
Delete dimension reference.
Parameters:
RefType
The type of dimension reference.
Index
Returns:
Get the envelope of a line in a specified dimension. For getting coordinates of dimension displayed in solid and same dimension is displayed in drawing then drawing should not be active.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
Pass only for solid dim shown in drawing. Otherwise pass NULL.
Line
The line number of the dimension.
Returns:
The envelope surrounding the text line, in the model's coordinate system. For drawing it is in the screen coordinates.