Library | File

Class wfcWDimension

# include <wfcDimension.h>

class wfcWDimension
 : public virtual wfcAnnotation,
 : public virtual pfcDimension
{
    xaideclare(wfcWDimension)
    ...
};



Description

Extends the functionality ofpfcDimension

This is the actual type of Dimension Items in Object Toolkit.
Manual References:
Overview of Creo Object TOOLKIT C++: Casting of Creo Object TOOLKIT C++ pfc Classes to wfc Classes



Method Summary

voidAddAdditionalReferences (wfcDimensionReferenceType RefType, wfcAnnotationReferences_ptr Refs)
Add dimension references.
xboolCanRegenerate (optional pfcDrawing_ptr Drw)
optional wfcAnnotationElement_ptrCreateAnnotationElement (wfcAnnotationPlane_ptr Plane)
LICENSE: 222
voidCreateJog (pfcPoint3Ds_ptr JogPoints, xint WitnessLineIndex, optional pfcDrawing_ptr Drawing)
LICENSE: 222
voidCreateSimpleBreak (pfcPoint3D_ptr BreakStart, pfcPoint3D_ptr BreakEnd, xint WitnessLineIndex, optional pfcDrawing_ptr Drawing)
LICENSE: 222
voidDelete ()
LICENSE: 222
voidDeleteAdditionalReferences (wfcDimensionReferenceType RefType, xint Index)
Delete dimension reference.
voidDeleteAnnotationElement ()
LICENSE: 222
voidDisplayValueAsRounded (xbool Value)
voidEraseWitnessLine (xint WitnessLineIndex, optional pfcDrawing_ptr Drawing)
wfcAnnotationReferences_ptrGetAdditionalReferences (wfcDimensionReferenceType RefType)
Get dimension references.
wfcAnnotationPlane_ptrGetAnnotationPlane ()
LICENSE: 222
optional pfcDimension_ptrGetBaselineDimension ()
LICENSE: 222
wfcDimBoundGetBound ()
optional wfcDimChamferLeaderStyleGetChamferLeaderStyle (optional pfcDrawing_ptr Drw)
optional wfcDimChamferStyleGetChamferStyle (optional pfcDrawing_ptr Drawing)
LICENSE: 222
wfcDimLeaderConfigGetConfiguration (optional pfcDrawing_ptr Drw)
Obtains the dimension configuration.
optional xintGetDenominator (xbool Tolerance)
pfcDimensionAttachments_ptrGetDimensionAttachPoints ()
LICENSE: 222
pfcDimSenses_ptrGetDimensionSenses ()
LICENSE: 222
wfcDimLocation_ptrGetDimLocation (optional pfcDrawing_ptr Drawing, optional pfcView_ptr View)
optional xrealGetDisplayedLowerLimitTolerance ()
optional xrealGetDisplayedUpperLimitTolerance ()
xrealGetDisplayedValue ()
wfcDimValueDisplayGetDisplayedValueType ()
wfcDimensionDisplayFormatGetDisplayFormat ()
Get display format of dimension.
wfcDualDimensionInstructions_ptrGetDualOptions (optional pfcDrawing_ptr Drw)
Gets the dual dimension display options.
wfcEnvelope3D_ptrGetEnvelope (optional pfcDrawing_ptr Drawing, xint Line)
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.
wfcLeaderArrowTypeGetFirstDimArrowType (optional pfcDrawing_ptr Drawing, optional pfcView_ptr View)
LICENSE: 222
Returns the arrow type used for first dimension arrow.
xrealGetNominalValue ()
wfcDimOrdinateStandardGetOrdinateStandard ()
LICENSE: 222
pfcDimOrientationHintGetOrientationHint ()
LICENSE: 222
optional xintGetOriginSide ()
Identify if dimension has an origin side
optional xrealGetOverrideValue ()
optional pfcFeature_ptrGetOwnerFeature ()
optional pfcDimension_ptrGetParentDimension ()
Retrieves the parent dimension of the value dependent dimension.
optional xstringGetPrefix ()
optional wfcLeaderArrowTypeGetSecondDimArrowType (optional pfcDrawing_ptr Drawing, optional pfcView_ptr View)
LICENSE: 222
Returns the arrow type used for second dimension arrow.
optional xintGetSignificantDigits (xbool Tolerance)
optional xstringGetSuffix ()
xstringsequence_ptrGetSymbolModeText ()
xboolIsAccessibleInModel ()
xboolIsBaseline ()
LICENSE: 222
xboolIsBasic ()
xboolIsDisplayedValueRounded ()
xboolIsDriving ()
LICENSE: 222
xboolIsFractional ()
xboolIsInspection ()
xboolIsOrdinate ()
LICENSE: 222
xboolIsSignDriven ()
Identifies if the dimension always uses a true sign.
xboolIsToleranceDisplayed ()
voidLinearDimensionToOrdinate (pfcDimension_ptr Dimension)
LICENSE: 222
voidMove (pfcPoint3D_ptr Location)
LICENSE: 222
voidOrdinateDimensionToLinear ()
LICENSE: 222
voidSetAnnotationPlane (wfcAnnotationPlane_ptr Plane)
LICENSE: 222
voidSetAsBasic (xbool Basic)
voidSetAsInspection (xbool Inspection)
voidSetBound (pfcModel_ptr Model, wfcDimBound DimBound)
voidSetChamferLeaderStyle (wfcDimChamferLeaderStyle ChamferLeaderStyle, optional pfcDrawing_ptr Drw)
voidSetChamferStyle (wfcDimChamferStyle ChamferStyle, optional pfcDrawing_ptr Drawing)
LICENSE: 222
voidSetConfiguration (wfcDimLeaderConfig Config, optional pfcDrawing_ptr Drw)
Assigns the dimension configuration.
voidSetDenominator (xint Denominator, xbool Tolerance)
voidSetDimensionArrowType (xint ArrowIndex, wfcLeaderArrowType ArrowType, optional pfcDrawing_ptr Drawing)
voidSetDimensionAttachPoints (pfcDimensionAttachments_ptr DimAttachments, pfcDimSenses_ptr DimSenses, pfcDimOrientationHint OrientHint, wfcAnnotationPlane_ptr AnnotPlane)
LICENSE: 222
voidSetDisplayedValueType (wfcDimValueDisplay DisplayValueType)
voidSetDisplayFormat (wfcDimensionDisplayFormat Format)
Set display format of dimension.
voidSetDualOptions (optional pfcDrawing_ptr Drw, wfcDualDimensionInstructions_ptr DDInst)
Sets the dual dimension display using specified options.
voidSetElbowLength (xreal ElbowLength, optional pfcDrawing_ptr Drw)
voidSetOrdinateReferences (pfcDimensionAttachment_ptr DimAttachment, pfcDimSenses_ptr DimSenses, pfcDimOrientationHint OrientHint)
LICENSE: 222
voidSetOrdinateStandard (wfcDimOrdinateStandard Standard)
LICENSE: 222
voidSetOriginSide (xint WitnessLineIndex)
Sets origin side to dimension.
voidSetOverrideValue (xreal Value)
voidSetPrefix (xrstring Prefix)
voidSetSignificantDigits (xint Digits, xbool Tolerance)
voidSetSuffix (xrstring Suffix)
voidShowWitnessLine (optional pfcDrawing_ptr Drawing)


Methods Inherited from Class wfcLayerItem:

IsLayerItemVisible, RemoveNoUpdate, GetLayers, AddNoUpdate


Methods Inherited from Class pfcActionSource:

AddActionListener, RemoveActionListener, AddActionListenerWithType


Methods Inherited from Class pfcParent:

GetChild


Methods Inherited from Class pfcParameterOwner:

GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters


Methods Inherited from Class wfcWParameterOwner:

ExportParameterTable, ApplyParameterTableset


Methods Inherited from Class pfcRelationOwner:

DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression


Methods Inherited from Class wfcWRelationOwner:

GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits


Methods Inherited from Class pfcChild:

GetDBParent, GetOId


Methods Inherited from Class pfcModelItem:

GetName, SetName, GetId, GetType


Methods Inherited from Class wfcWModelItem:

DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName


Methods Inherited from Class wfcAnnotation:

ShowInDrawing, Display, DisplayInDrawing, Undisplay, UndisplayInDrawing, IsShown, Update, GetTextStyle, SetTextStyle, GetTextStyleInDrawing, SetTextStyleInDrawing, UpdateAttachment, UpdatePosition, IsAssociative, GetAttachmentAssociativity, GetAnnotationElement, IsInactive, Rotate, ConvertLegacy, NeedsConversion, GetSecurityMarking, SetSecurityMarking, IsUsingXSecReference


Methods Inherited from Class pfcBaseParameter:

GetValue, SetValue, GetIsDesignated, SetIsDesignated, GetIsRelationDriven, GetIsModified, ResetFromBackup


Methods Inherited from Class pfcBaseDimension:

GetDimValue, SetDimValue, GetDimType, GetSymbol, SetSymbol, GetTexts, SetTexts, GetExtendsInNegativeDirection, Show, Erase


Methods Inherited from Class pfcDimension:

GetTolerance, SetTolerance, IsReference



Method Detail

xrealGetNominalValue ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



voidSetBound (pfcModel_ptr Model, wfcDimBound DimBound)



Exceptions thrown (but not limited to):

pfcXToolkitCantModify- The dimension's owner model or the TableModel are read-only.

pfcXToolkitBadContext- cannot set bound for this dimension.

pfcXToolkitCantWrite- Could not modify the given item because it has read-only access.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
Model
DimBound
Returns:



wfcDimBoundGetBound ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



xstringsequence_ptrGetSymbolModeText ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



xboolIsFractional ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



optional xintGetSignificantDigits (xbool Tolerance)



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The number of decimals is driven by the number of decimals for the dimension.

pfcXToolkitBadContext- The dimension is fractional.


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Parameters:
Tolerance
Returns:



voidSetSignificantDigits (xint Digits, xbool Tolerance)



Exceptions thrown (but not limited to):

pfcXToolkitBadContext- The dimension is fractional, so this value cannot be set.

pfcXToolkitNotValid- The input "decimals" argument is out-of-range .


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
Digits
Tolerance
Returns:



optional xintGetDenominator (xbool Tolerance)



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The denominator is driven by the denominator for the dimension.

pfcXToolkitBadContext- The dimension is not fractional.


Manual References:
Dimensions and Parameters: Dimension Information
Parameters:
Tolerance
Returns:



voidSetDenominator (xint Denominator, xbool Tolerance)



Exceptions thrown (but not limited to):

pfcXToolkitBadContext- The dimension is not fractional.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
Denominator
Tolerance
Returns:



xboolCanRegenerate (optional pfcDrawing_ptr Drw)


Manual References:
Dimensions and Parameters: Accessing Reference and Driven Dimensions, Dimensions and Parameters: Accessing Reference and Driven Dimensions
Parameters:
Drw
Returns:



optional xstringGetPrefix ()



Exceptions thrown (but not limited to):

pfcXToolkitInvalidType- The dimension type is invalid.

pfcXToolkitNotFound- The dimension or prefix is not found.


Manual References:
Dimensions and Parameters: Dimension Prefix and Suffix, Dimensions and Parameters: Dimension Prefix and Suffix
Returns:



voidSetPrefix (xrstring Prefix)



Exceptions thrown (but not limited to):

pfcXToolkitInvalidType- The dimension type is invalid.

pfcXToolkitNotFound- The dimension isn't found.

pfcXToolkitCantModify- The dimension isn't modifiable.


Manual References:
Dimensions and Parameters: Dimension Prefix and Suffix, Dimensions and Parameters: Dimension Prefix and Suffix
Parameters:
Prefix
Returns:



optional xstringGetSuffix ()



Exceptions thrown (but not limited to):

pfcXToolkitInvalidType- The dimension type is invalid.

pfcXToolkitNotFound- The dimension or suffix is not found.


Manual References:
Dimensions and Parameters: Dimension Prefix and Suffix, Dimensions and Parameters: Dimension Prefix and Suffix
Returns:



voidSetSuffix (xrstring Suffix)



Exceptions thrown (but not limited to):

pfcXToolkitInvalidType- The dimension type is invalid.

pfcXToolkitNotFound- The dimension isn't found.

pfcXToolkitCantModify- The dimension isn't modifiable.


Manual References:
Dimensions and Parameters: Dimension Prefix and Suffix
Parameters:
Suffix
Returns:



xboolIsToleranceDisplayed ()


Manual References:
Dimensions and Parameters: Dimension Tolerances, Dimensions and Parameters: Dimension Tolerances
Returns:



xboolIsBasic ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



xboolIsInspection ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



voidSetAsInspection (xbool Inspection)



Exceptions thrown (but not limited to):

pfcXToolkitCantWrite- Could not modify the given item because it has read-only access.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
Inspection
Returns:



voidSetAsBasic (xbool Basic)



Exceptions thrown (but not limited to):

pfcXToolkitCantWrite- Could not modify the given item because it has read-only access.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
Basic
Returns:



optional pfcFeature_ptrGetOwnerFeature ()



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension is not owned by a particular feature.


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



xrealGetDisplayedValue ()



Exceptions thrown (but not limited to):

pfcXToolkitAmbiguous- The displayed format is not decimal


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



optional xrealGetDisplayedUpperLimitTolerance ()



Exceptions thrown (but not limited to):

pfcXToolkitAmbiguous- The displayed format is not decimal


Manual References:
Dimensions and Parameters: Dimension Tolerances, Dimensions and Parameters: Dimension Tolerances
Returns:



optional xrealGetDisplayedLowerLimitTolerance ()



Exceptions thrown (but not limited to):

pfcXToolkitAmbiguous- The displayed format is not decimal


Manual References:
Dimensions and Parameters: Dimension Tolerances
Returns:



voidDisplayValueAsRounded (xbool Value)



Exceptions thrown (but not limited to):

pfcXToolkitNoChange- The input attribute is the same as an existing one

pfcXToolkitCantModify- Modification of the attribute is not allowed


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Parameters:
Value
Returns:



xboolIsDisplayedValueRounded ()



Exceptions thrown (but not limited to):

pfcXToolkitBadContext- Option is set, but the display is not decimal


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



optional xrealGetOverrideValue ()



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The override value is not set.


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



voidSetOverrideValue (xreal Value)


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
Value
Returns:



wfcDimValueDisplayGetDisplayedValueType ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



voidSetDisplayedValueType (wfcDimValueDisplay DisplayValueType)


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
DisplayValueType
Returns:



voidSetElbowLength (xreal ElbowLength, optional pfcDrawing_ptr Drw)



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension is not a chamfer dimension.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
ElbowLength
Drw
Returns:



optional wfcDimChamferLeaderStyleGetChamferLeaderStyle (optional pfcDrawing_ptr Drw)



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension is not a chamfer dimension.


Manual References:
Dimensions and Parameters: 45 Degree Chamfer Dimensions, Dimensions and Parameters: 45 Degree Chamfer Dimensions
Parameters:
Drw
Returns:



voidSetChamferLeaderStyle (wfcDimChamferLeaderStyle ChamferLeaderStyle, optional pfcDrawing_ptr Drw)



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension style is not chamfer.


Manual References:
Dimensions and Parameters: 45 Degree Chamfer Dimensions, Dimensions and Parameters: 45 Degree Chamfer Dimensions
Parameters:
ChamferLeaderStyle
Drw
Returns:



wfcDimLeaderConfigGetConfiguration (optional pfcDrawing_ptr Drw)

Obtains the dimension configuration.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound- Dimension not found.


Manual References:
Dimensions and Parameters: 45 Degree Chamfer Dimensions, Dimensions and Parameters: 45 Degree Chamfer Dimensions
Parameters:
Drw
Optional - The Drawing if dimension belongs to a drawing.
Returns:
wfcDimLeaderConfig - Dimension leader configuration



voidSetConfiguration (wfcDimLeaderConfig Config, optional pfcDrawing_ptr Drw)

Assigns the dimension configuration.
Manual References:
Dimensions and Parameters: 45 Degree Chamfer Dimensions, Dimensions and Parameters: 45 Degree Chamfer Dimensions
Parameters:
Config
Dimension leader configuration to assign.
Drw
Optional - The Drawing if dimension belongs to a drawing.
Returns:



xboolIsSignDriven ()

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'.


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:
xbool - boolean indicating if dimension is sign driven or not.



voidCreateSimpleBreak (pfcPoint3D_ptr BreakStart, pfcPoint3D_ptr BreakEnd, xint WitnessLineIndex, optional pfcDrawing_ptr Drawing)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitCantModify- The object or cosmetic model can't be modified.

pfcXToolkitInvalidItem- The dimension is not valid.

pfcXToolkitInvalidType- The dimension can't have a witness line break.

pfcXToolkitAbort- The dimension witness line couldn't be broken.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
BreakStart
BreakEnd
WitnessLineIndex
Drawing
Returns:



voidCreateJog (pfcPoint3Ds_ptr JogPoints, xint WitnessLineIndex, optional pfcDrawing_ptr Drawing)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitCantModify- The object or cosmetic model can't be modified.

pfcXToolkitInvalidItem- The dimension is not valid for this operation.

pfcXToolkitInvalidType- The dimension can't have a witness line jog.

pfcXToolkitAbort- The dimension witness line couldn't be jogged.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
JogPoints
WitnessLineIndex
Drawing
Returns:



wfcDimLocation_ptrGetDimLocation (optional pfcDrawing_ptr Drawing, optional pfcView_ptr View)



Exceptions thrown (but not limited to):

pfcXToolkitNotDisplayed- 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.

pfcXToolkitNotFound- This dimension is not displayable.

pfcXToolkitNotValid- A drawing view was passed with a drawing.


Parameters:
Drawing
View
Returns:



wfcLeaderArrowTypeGetFirstDimArrowType (optional pfcDrawing_ptr Drawing, optional pfcView_ptr View)
LICENSE: 222

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.



optional wfcLeaderArrowTypeGetSecondDimArrowType (optional pfcDrawing_ptr Drawing, optional pfcView_ptr View)
LICENSE: 222

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.



voidDelete ()
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitCantWrite- Could not delete the given item because it has read-only access.

pfcXToolkitInvalidItem- The input dimension is invalid (non-driven).


Manual References:
Dimensions and Parameters: Accessing Reference and Driven Dimensions, Dimensions and Parameters: Accessing Reference and Driven Dimensions
Returns:



xboolIsDriving ()
LICENSE: 222


Manual References:
Dimensions and Parameters: Accessing Reference and Driven Dimensions, Dimensions and Parameters: Accessing Reference and Driven Dimensions
Returns:



voidSetAnnotationPlane (wfcAnnotationPlane_ptr Plane)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitInvalidMatrix- The orientation cannot be used for the input dimension.

pfcXToolkitNotValid- For a driving dimension annotation element, the annotation orientation provided is not frozen.

pfcXToolkitBadContext- The driving dimension is not in an annotation element.


Manual References:
Dimensions and Parameters: Dimension Orientation, Dimensions and Parameters: Dimension Orientation
Parameters:
Plane
Returns:



wfcAnnotationPlane_ptrGetAnnotationPlane ()
LICENSE: 222


Manual References:
Dimensions and Parameters: Dimension Orientation
Returns:



voidMove (pfcPoint3D_ptr Location)
LICENSE: 222


Manual References:
Annotations: Annotation Features and Annotations: Automatic Propagation of Annotation Elements
Parameters:
Location
Returns:



xboolIsBaseline ()
LICENSE: 222


Manual References:
Annotations: Annotation Features and Annotations: Baseline Dimensions, Annotations: Annotation Features and Annotations: Baseline Dimensions
Returns:



xboolIsAccessibleInModel ()


Manual References:
Dimensions and Parameters: Dimension Information, Dimensions and Parameters: Dimension Information
Returns:



voidSetOrdinateStandard (wfcDimOrdinateStandard Standard)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitCantModify- The input ordinate dimension is not a baseline dimension.


Manual References:
Annotations: Annotation Features and Annotations: Ordinate Dimensions, Annotations: Annotation Features and Annotations: Ordinate Dimensions
Parameters:
Standard
Returns:



wfcDimOrdinateStandardGetOrdinateStandard ()
LICENSE: 222


Manual References:
Annotations: Annotation Features and Annotations: Ordinate Dimensions, Annotations: Annotation Features and Annotations: Ordinate Dimensions
Returns:



xboolIsOrdinate ()
LICENSE: 222


Manual References:
Annotations: Annotation Features and Annotations: Ordinate Dimensions, Annotations: Annotation Features and Annotations: Ordinate Dimensions
Returns:



optional pfcDimension_ptrGetBaselineDimension ()
LICENSE: 222


Manual References:
Annotations: Annotation Features and Annotations: Baseline Dimensions, Annotations: Annotation Features and Annotations: Baseline Dimensions
Returns:



optional wfcAnnotationElement_ptrCreateAnnotationElement (wfcAnnotationPlane_ptr Plane)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitInvalidType- The dimension is not a driving dimension.

pfcXToolkitInvalidItem- This type of driving dimension is not suitable for incorporation into a driving dimension annotation element.

pfcXToolkitFound- The dimension already has an annotation element.

pfcXToolkitInvalidMatrix- The orientation provided cannot be used for this dimension.


Manual References:
Dimensions and Parameters: Driving Dimension Annotation Elements, Dimensions and Parameters: Driving Dimension Annotation Elements
Parameters:
Plane
Returns:



voidDeleteAnnotationElement ()
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension does not have an annotation element.


Manual References:
Dimensions and Parameters: Driving Dimension Annotation Elements
Returns:



optional wfcDimChamferStyleGetChamferStyle (optional pfcDrawing_ptr Drawing)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension is not a chamfer dimension.


Manual References:
Dimensions and Parameters: 45 Degree Chamfer Dimensions, Dimensions and Parameters: 45 Degree Chamfer Dimensions
Parameters:
Drawing
Returns:



voidSetChamferStyle (wfcDimChamferStyle ChamferStyle, optional pfcDrawing_ptr Drawing)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension style is not chamfer.


Manual References:
Dimensions and Parameters: 45 Degree Chamfer Dimensions
Parameters:
ChamferStyle
Drawing
Returns:



pfcDimensionAttachments_ptrGetDimensionAttachPoints ()
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitInvalidItem- The input dimension is invalid (non-driven).


Manual References:
Dimensions and Parameters: Accessing Reference and Driven Dimensions, Dimensions and Parameters: Accessing Reference and Driven Dimensions
Returns:



pfcDimSenses_ptrGetDimensionSenses ()
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitInvalidItem- The input dimension is invalid (non-driven).


Manual References:
Dimensions and Parameters: Accessing Reference and Driven Dimensions, Dimensions and Parameters: Accessing Reference and Driven Dimensions
Returns:



pfcDimOrientationHintGetOrientationHint ()
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitInvalidItem- The input dimension is invalid (non-driven).


Manual References:
Dimensions and Parameters: Accessing Reference and Driven Dimensions, Dimensions and Parameters: Accessing Reference and Driven Dimensions
Returns:



voidSetDimensionAttachPoints (pfcDimensionAttachments_ptr DimAttachments, pfcDimSenses_ptr DimSenses, pfcDimOrientationHint OrientHint, wfcAnnotationPlane_ptr AnnotPlane)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitBadDimAttach- A dimension could not be created with the attachments and sense specified.

pfcXToolkitCantWrite- Could not modify the given item because it has read-only access.


Manual References:
Dimensions and Parameters: Accessing Reference and Driven Dimensions
Parameters:
DimAttachments
DimSenses
OrientHint
AnnotPlane
Returns:



voidEraseWitnessLine (xint WitnessLineIndex, optional pfcDrawing_ptr Drawing)



Exceptions thrown (but not limited to):

pfcXToolkitNoChange- The dimension witnessline could not be erased.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
WitnessLineIndex
Drawing
Returns:



voidShowWitnessLine (optional pfcDrawing_ptr Drawing)



Exceptions thrown (but not limited to):

pfcXToolkitNoChange- The dimension witnessline could not be shown or input dimension does not have erased witnessline.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
Drawing
Returns:



voidSetOrdinateReferences (pfcDimensionAttachment_ptr DimAttachment, pfcDimSenses_ptr DimSenses, pfcDimOrientationHint OrientHint)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitBadDimAttach- Invalid attachment geometry for this ordinate dimension.

pfcXToolkitInvalidType- The dimension is not an ordinate dimension.


Manual References:
Annotations: Annotation Features and Annotations: Ordinate Dimensions, Annotations: Annotation Features and Annotations: Ordinate Dimensions
Parameters:
DimAttachment
DimSenses
OrientHint
Returns:



voidOrdinateDimensionToLinear ()
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitCantWrite- Could not modify the given item because it has read-only access.


Manual References:
Annotations: Annotation Features and Annotations: Ordinate Dimensions, Annotations: Annotation Features and Annotations: Ordinate Dimensions
Returns:



voidLinearDimensionToOrdinate (pfcDimension_ptr Dimension)
LICENSE: 222



Exceptions thrown (but not limited to):

pfcXToolkitCantWrite- Could not modify the given item because it has read-only access.


Manual References:
Annotations: Annotation Features and Annotations: Ordinate Dimensions
Parameters:
Dimension
Returns:



voidSetDimensionArrowType (xint ArrowIndex, wfcLeaderArrowType ArrowType, optional pfcDrawing_ptr Drawing)



Exceptions thrown (but not limited to):

pfcXToolkitNotFound- The dimension does not exist.

pfcXToolkitInvalidPtr- The dimension owner is invalid.

pfcXToolkitCantModify- The dimension cannot be modified.


Manual References:
Dimensions and Parameters: Modifying Dimensions, Dimensions and Parameters: Modifying Dimensions
Parameters:
ArrowIndex
ArrowType
Drawing
Returns:



optional pfcDimension_ptrGetParentDimension ()

Retrieves the parent dimension of the value dependent dimension.
Returns:
The parent dimension.



optional xintGetOriginSide ()

Identify if dimension has an origin side
Returns:
The witness line index: 1 or 2. Returns -1 if dimension has no origin side.



voidSetOriginSide (xint 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:



wfcDualDimensionInstructions_ptrGetDualOptions (optional pfcDrawing_ptr Drw)

Gets the dual dimension display options.
Parameters:
Drw
The drawing handle. Pass nullif not using a drawing.
Returns:
The dual dimension instructions object.



voidSetDualOptions (optional pfcDrawing_ptr Drw, wfcDualDimensionInstructions_ptr DDInst)

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:



wfcDimensionDisplayFormatGetDisplayFormat ()

Get display format of dimension.
Returns:
The dimension display format type.



voidSetDisplayFormat (wfcDimensionDisplayFormat Format)

Set display format of dimension.
Parameters:
Format
The dimension display format type.
Returns:



wfcAnnotationReferences_ptrGetAdditionalReferences (wfcDimensionReferenceType RefType)

Get dimension references.
Parameters:
RefType
The type of dimension reference.
Returns:
Sequence of additional references.



voidAddAdditionalReferences (wfcDimensionReferenceType RefType, wfcAnnotationReferences_ptr Refs)

Add dimension references.
Parameters:
RefType
The type of dimension reference.
Refs
Sequence of additional references to add.
Returns:



voidDeleteAdditionalReferences (wfcDimensionReferenceType RefType, xint Index)

Delete dimension reference.
Parameters:
RefType
The type of dimension reference.
Index
The index of reference to delete. Indices start from 0. Get additional references using wfcWDimension::GetAdditionalReferences(wfcDimensionReferenceType).
Returns:



wfcEnvelope3D_ptrGetEnvelope (optional pfcDrawing_ptr Drawing, xint Line)

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):

pfcXToolkitNotFound- The indicated line does not exist.


Manual References:
Dimensions and Parameters: Modifying Dimensions
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.