Library | Package Java Toolkit

Interface WDimension

package com.ptc.wfc.wfcDimension;

public interface WDimension
  extends com.ptc.wfc.wfcAnnotation.Annotation,
          com.ptc.pfc.pfcDimension.Dimension



Description

Extends the functionality ofDimension

This is the actual type of Dimension Items in Object Toolkit.



Method Summary
voidAddAdditionalReferences (DimensionReferenceType RefType, AnnotationReferences Refs)
     Add dimension references.
booleanCanRegenerate ( /*optional*/ Drawing Drw)
    
/*optional*/ AnnotationElementCreateAnnotationElement (AnnotationPlane Plane)
LICENSE: 222
    
voidCreateJog (Point3Ds JogPoints, int WitnessLineIndex, /*optional*/ Drawing Drawing)
LICENSE: 222
    
voidCreateSimpleBreak (Point3D BreakStart, Point3D BreakEnd, int WitnessLineIndex, /*optional*/ Drawing Drawing)
LICENSE: 222
    
voidDelete ()
LICENSE: 222
    
voidDeleteAdditionalReferences (DimensionReferenceType RefType, int Index)
     Delete dimension reference.
voidDeleteAnnotationElement ()
LICENSE: 222
    
voidDisplayValueAsRounded (boolean Value)
    
voidEraseWitnessLine (int WitnessLineIndex, /*optional*/ Drawing Drawing)
    
AnnotationReferencesGetAdditionalReferences (DimensionReferenceType RefType)
     Get dimension references.
AnnotationPlaneGetAnnotationPlane ()
LICENSE: 222
    
/*optional*/ DimensionGetBaselineDimension ()
LICENSE: 222
    
DimBoundGetBound ()
    
/*optional*/ DimChamferLeaderStyleGetChamferLeaderStyle ( /*optional*/ Drawing Drw)
    
/*optional*/ DimChamferStyleGetChamferStyle ( /*optional*/ Drawing Drawing)
LICENSE: 222
    
DimLeaderConfigGetConfiguration ( /*optional*/ Drawing Drw)
    Obtains the dimension configuration.
/*optional*/ IntegerGetDenominator (boolean Tolerance)
    
DimensionAttachmentsGetDimensionAttachPoints ()
LICENSE: 222
    
DimSensesGetDimensionSenses ()
LICENSE: 222
    
DimLocationGetDimLocation ( /*optional*/ Drawing Drawing, /*optional*/ View View)
    
/*optional*/ DoubleGetDisplayedLowerLimitTolerance ()
    
/*optional*/ DoubleGetDisplayedUpperLimitTolerance ()
    
doubleGetDisplayedValue ()
    
DimValueDisplayGetDisplayedValueType ()
    
DimensionDisplayFormatGetDisplayFormat ()
     Get display format of dimension.
DualDimensionInstructionsGetDualOptions ( /*optional*/ Drawing Drw)
     Gets the dual dimension display options.
Envelope3DGetEnvelope ( /*optional*/ Drawing Drawing, int 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.
LeaderArrowTypeGetFirstDimArrowType ( /*optional*/ Drawing Drawing, /*optional*/ View View)
LICENSE: 222
    Returns the arrow type used for first dimension arrow.
doubleGetNominalValue ()
    
DimOrdinateStandardGetOrdinateStandard ()
LICENSE: 222
    
DimOrientationHintGetOrientationHint ()
LICENSE: 222
    
/*optional*/ IntegerGetOriginSide ()
     Identify if dimension has an origin side
/*optional*/ DoubleGetOverrideValue ()
    
/*optional*/ FeatureGetOwnerFeature ()
    
/*optional*/ DimensionGetParentDimension ()
     Retrieves the parent dimension of the value dependent dimension.
/*optional*/ StringGetPrefix ()
    
/*optional*/ LeaderArrowTypeGetSecondDimArrowType ( /*optional*/ Drawing Drawing, /*optional*/ View View)
LICENSE: 222
    Returns the arrow type used for second dimension arrow.
/*optional*/ IntegerGetSignificantDigits (boolean Tolerance)
    
/*optional*/ StringGetSuffix ()
    
stringseqGetSymbolModeText ()
    
booleanIsAccessibleInModel ()
    
booleanIsBaseline ()
LICENSE: 222
    
booleanIsBasic ()
    
booleanIsDisplayedValueRounded ()
    
booleanIsDriving ()
LICENSE: 222
    
booleanIsFractional ()
    
booleanIsInspection ()
    
booleanIsOrdinate ()
LICENSE: 222
    
booleanIsSignDriven ()
    Identifies if the dimension always uses a true sign.
booleanIsToleranceDisplayed ()
    
voidLinearDimensionToOrdinate (Dimension Dimension)
LICENSE: 222
    
voidMove (Point3D Location)
LICENSE: 222
    
voidOrdinateDimensionToLinear ()
LICENSE: 222
    
voidSetAnnotationPlane (AnnotationPlane Plane)
LICENSE: 222
    
voidSetAsBasic (boolean Basic)
    
voidSetAsInspection (boolean Inspection)
    
voidSetBound (Model Model, DimBound DimBound)
    
voidSetChamferLeaderStyle (DimChamferLeaderStyle ChamferLeaderStyle, /*optional*/ Drawing Drw)
    
voidSetChamferStyle (DimChamferStyle ChamferStyle, /*optional*/ Drawing Drawing)
LICENSE: 222
    
voidSetConfiguration (DimLeaderConfig Config, /*optional*/ Drawing Drw)
    Assigns the dimension configuration.
voidSetDenominator (int Denominator, boolean Tolerance)
    
voidSetDimensionArrowType (int ArrowIndex, LeaderArrowType ArrowType, /*optional*/ Drawing Drawing)
    
voidSetDimensionAttachPoints (DimensionAttachments DimAttachments, DimSenses DimSenses, DimOrientationHint OrientHint, AnnotationPlane AnnotPlane)
LICENSE: 222
    
voidSetDisplayedValueType (DimValueDisplay DisplayValueType)
    
voidSetDisplayFormat (DimensionDisplayFormat Format)
     Set display format of dimension.
voidSetDualOptions ( /*optional*/ Drawing Drw, DualDimensionInstructions DDInst)
     Sets the dual dimension display using specified options.
voidSetElbowLength (double ElbowLength, /*optional*/ Drawing Drw)
    
voidSetOrdinateReferences (DimensionAttachment DimAttachment, DimSenses DimSenses, DimOrientationHint OrientHint)
LICENSE: 222
    
voidSetOrdinateStandard (DimOrdinateStandard Standard)
LICENSE: 222
    
voidSetOriginSide (int WitnessLineIndex)
     Sets origin side to dimension.
voidSetOverrideValue (double Value)
    
voidSetPrefix (String Prefix)
    
voidSetSignificantDigits (int Digits, boolean Tolerance)
    
voidSetSuffix (String Suffix)
    
voidShowWitnessLine ( /*optional*/ Drawing Drawing)
    

Methods Inherited from Interface com.ptc.wfc.wfcLayerState.LayerItem
IsLayerItemVisible, RemoveNoUpdate, GetLayers, AddNoUpdate

Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource
AddActionListener, RemoveActionListener, AddActionListenerWithType

Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent
GetChild

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner
GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WParameterOwner
ExportParameterTable, ApplyParameterTableset, MathcadParametersSet, MathcadInputParametersGet

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner
DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WRelationOwner
GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits

Methods Inherited from Interface com.ptc.pfc.pfcObject.Child
GetDBParent, GetOId

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem
GetName, SetName, GetId, GetType

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WModelItem
DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName

Methods Inherited from Interface com.ptc.wfc.wfcAnnotation.Annotation
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 Interface com.ptc.pfc.pfcModelItem.BaseParameter
GetValue, SetValue, GetIsDesignated, SetIsDesignated, GetIsRelationDriven, GetIsModified, ResetFromBackup

Methods Inherited from Interface com.ptc.pfc.pfcDimension.BaseDimension
GetDimValue, SetDimValue, GetDimType, GetSymbol, SetSymbol, GetTexts, SetTexts, GetExtendsInNegativeDirection, Show, Erase

Methods Inherited from Interface com.ptc.pfc.pfcDimension.Dimension
GetTolerance, SetTolerance, IsReference

Method Detail

GetNominalValue

doubleGetNominalValue ()


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


SetBound

voidSetBound (Model Model, DimBound DimBound)


    

Exceptions thrown (but not limited to):

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

XToolkitBadContext- cannot set bound for this dimension.

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


GetBound

DimBoundGetBound ()


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


GetSymbolModeText

stringseqGetSymbolModeText ()


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


IsFractional

booleanIsFractional ()


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


GetSignificantDigits

/*optional*/ IntegerGetSignificantDigits (boolean Tolerance)


    

Exceptions thrown (but not limited to):

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

XToolkitBadContext- The dimension is fractional.


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


SetSignificantDigits

voidSetSignificantDigits (int Digits, boolean Tolerance)


    

Exceptions thrown (but not limited to):

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

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


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


GetDenominator

/*optional*/ IntegerGetDenominator (boolean Tolerance)


    

Exceptions thrown (but not limited to):

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

XToolkitBadContext- The dimension is not fractional.


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


SetDenominator

voidSetDenominator (int Denominator, boolean Tolerance)


    

Exceptions thrown (but not limited to):

XToolkitBadContext- The dimension is not fractional.


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


CanRegenerate

booleanCanRegenerate ( /*optional*/ Drawing Drw)


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


GetPrefix

/*optional*/ StringGetPrefix ()


    

Exceptions thrown (but not limited to):

XToolkitInvalidType- The dimension type is invalid.

XToolkitNotFound- The dimension or prefix is not found.


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


SetPrefix

voidSetPrefix (String Prefix)


    

Exceptions thrown (but not limited to):

XToolkitInvalidType- The dimension type is invalid.

XToolkitNotFound- The dimension isn't found.

XToolkitCantModify- The dimension isn't modifiable.


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


GetSuffix

/*optional*/ StringGetSuffix ()


    

Exceptions thrown (but not limited to):

XToolkitInvalidType- The dimension type is invalid.

XToolkitNotFound- The dimension or suffix is not found.


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


SetSuffix

voidSetSuffix (String Suffix)


    

Exceptions thrown (but not limited to):

XToolkitInvalidType- The dimension type is invalid.

XToolkitNotFound- The dimension isn't found.

XToolkitCantModify- The dimension isn't modifiable.


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


IsToleranceDisplayed

booleanIsToleranceDisplayed ()


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


IsBasic

booleanIsBasic ()


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


IsInspection

booleanIsInspection ()


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


SetAsInspection

voidSetAsInspection (boolean Inspection)


    

Exceptions thrown (but not limited to):

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


SetAsBasic

voidSetAsBasic (boolean Basic)


    

Exceptions thrown (but not limited to):

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


GetOwnerFeature

/*optional*/ FeatureGetOwnerFeature ()


    

Exceptions thrown (but not limited to):

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


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


GetDisplayedValue

doubleGetDisplayedValue ()


    

Exceptions thrown (but not limited to):

XToolkitAmbiguous- The displayed format is not decimal


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


GetDisplayedUpperLimitTolerance

/*optional*/ DoubleGetDisplayedUpperLimitTolerance ()


    

Exceptions thrown (but not limited to):

XToolkitAmbiguous- The displayed format is not decimal


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


GetDisplayedLowerLimitTolerance

/*optional*/ DoubleGetDisplayedLowerLimitTolerance ()


    

Exceptions thrown (but not limited to):

XToolkitAmbiguous- The displayed format is not decimal


Manual References:
Dimensions and Parameters: Dimension Tolerances
Returns:


DisplayValueAsRounded

voidDisplayValueAsRounded (boolean Value)


    

Exceptions thrown (but not limited to):

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

XToolkitCantModify- Modification of the attribute is not allowed


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


IsDisplayedValueRounded

booleanIsDisplayedValueRounded ()


    

Exceptions thrown (but not limited to):

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


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


GetOverrideValue

/*optional*/ DoubleGetOverrideValue ()


    

Exceptions thrown (but not limited to):

XToolkitNotFound- The override value is not set.


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


SetOverrideValue

voidSetOverrideValue (double Value)


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


GetDisplayedValueType

DimValueDisplayGetDisplayedValueType ()


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


SetDisplayedValueType

voidSetDisplayedValueType (DimValueDisplay DisplayValueType)


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


SetElbowLength

voidSetElbowLength (double ElbowLength, /*optional*/ Drawing Drw)


    

Exceptions thrown (but not limited to):

XToolkitNotFound- The dimension is not a chamfer dimension.


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


GetChamferLeaderStyle

/*optional*/ DimChamferLeaderStyleGetChamferLeaderStyle ( /*optional*/ Drawing Drw)


    

Exceptions thrown (but not limited to):

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


SetChamferLeaderStyle

voidSetChamferLeaderStyle (DimChamferLeaderStyle ChamferLeaderStyle, /*optional*/ Drawing Drw)


    

Exceptions thrown (but not limited to):

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


GetConfiguration

DimLeaderConfigGetConfiguration ( /*optional*/ Drawing Drw)


    Obtains the dimension configuration.

Exceptions thrown (but not limited to):

XToolkitNotFound- 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


SetConfiguration

voidSetConfiguration (DimLeaderConfig Config, /*optional*/ Drawing 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:


IsSignDriven

booleanIsSignDriven ()


    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.


CreateSimpleBreak

voidCreateSimpleBreak (Point3D BreakStart, Point3D BreakEnd, int WitnessLineIndex, /*optional*/ Drawing Drawing)

LICENSE: 222

    

Exceptions thrown (but not limited to):

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

XToolkitInvalidItem- The dimension is not valid.

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

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


CreateJog

voidCreateJog (Point3Ds JogPoints, int WitnessLineIndex, /*optional*/ Drawing Drawing)

LICENSE: 222

    

Exceptions thrown (but not limited to):

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

XToolkitInvalidItem- The dimension is not valid for this operation.

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

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


GetDimLocation

DimLocationGetDimLocation ( /*optional*/ Drawing Drawing, /*optional*/ View View)


    

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.

XToolkitNotFound- This dimension is not displayable.

XToolkitNotValid- A drawing view was passed with a drawing.


Parameters:
Drawing
View
Returns:


GetFirstDimArrowType

LeaderArrowTypeGetFirstDimArrowType ( /*optional*/ Drawing Drawing, /*optional*/ View 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.


GetSecondDimArrowType

/*optional*/ LeaderArrowTypeGetSecondDimArrowType ( /*optional*/ Drawing Drawing, /*optional*/ View 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.


Delete

voidDelete ()

LICENSE: 222

    

Exceptions thrown (but not limited to):

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

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


IsDriving

booleanIsDriving ()

LICENSE: 222

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


SetAnnotationPlane

voidSetAnnotationPlane (AnnotationPlane Plane)

LICENSE: 222

    

Exceptions thrown (but not limited to):

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

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

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


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


GetAnnotationPlane

AnnotationPlaneGetAnnotationPlane ()

LICENSE: 222

    
Manual References:
Dimensions and Parameters: Dimension Orientation
Returns:


Move

voidMove (Point3D Location)

LICENSE: 222

    
Parameters:
Location
Returns:


IsBaseline

booleanIsBaseline ()

LICENSE: 222

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


IsAccessibleInModel

booleanIsAccessibleInModel ()


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


SetOrdinateStandard

voidSetOrdinateStandard (DimOrdinateStandard Standard)

LICENSE: 222

    

Exceptions thrown (but not limited to):

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


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


GetOrdinateStandard

DimOrdinateStandardGetOrdinateStandard ()

LICENSE: 222

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


IsOrdinate

booleanIsOrdinate ()

LICENSE: 222

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


GetBaselineDimension

/*optional*/ DimensionGetBaselineDimension ()

LICENSE: 222

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


CreateAnnotationElement

/*optional*/ AnnotationElementCreateAnnotationElement (AnnotationPlane Plane)

LICENSE: 222

    

Exceptions thrown (but not limited to):

XToolkitInvalidType- The dimension is not a driving dimension.

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

XToolkitFound- The dimension already has an annotation element.

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


DeleteAnnotationElement

voidDeleteAnnotationElement ()

LICENSE: 222

    

Exceptions thrown (but not limited to):

XToolkitNotFound- The dimension does not have an annotation element.


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


GetChamferStyle

/*optional*/ DimChamferStyleGetChamferStyle ( /*optional*/ Drawing Drawing)

LICENSE: 222

    

Exceptions thrown (but not limited to):

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


SetChamferStyle

voidSetChamferStyle (DimChamferStyle ChamferStyle, /*optional*/ Drawing Drawing)

LICENSE: 222

    

Exceptions thrown (but not limited to):

XToolkitNotFound- The dimension style is not chamfer.


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


GetDimensionAttachPoints

DimensionAttachmentsGetDimensionAttachPoints ()

LICENSE: 222

    

Exceptions thrown (but not limited to):

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


GetDimensionSenses

DimSensesGetDimensionSenses ()

LICENSE: 222

    

Exceptions thrown (but not limited to):

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


GetOrientationHint

DimOrientationHintGetOrientationHint ()

LICENSE: 222

    

Exceptions thrown (but not limited to):

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


SetDimensionAttachPoints

voidSetDimensionAttachPoints (DimensionAttachments DimAttachments, DimSenses DimSenses, DimOrientationHint OrientHint, AnnotationPlane AnnotPlane)

LICENSE: 222

    

Exceptions thrown (but not limited to):

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

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


EraseWitnessLine

voidEraseWitnessLine (int WitnessLineIndex, /*optional*/ Drawing Drawing)


    

Exceptions thrown (but not limited to):

XToolkitNoChange- The dimension witnessline could not be erased.


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


ShowWitnessLine

voidShowWitnessLine ( /*optional*/ Drawing Drawing)


    

Exceptions thrown (but not limited to):

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


SetOrdinateReferences

voidSetOrdinateReferences (DimensionAttachment DimAttachment, DimSenses DimSenses, DimOrientationHint OrientHint)

LICENSE: 222

    

Exceptions thrown (but not limited to):

XToolkitBadDimAttach- Invalid attachment geometry for this ordinate dimension.

XToolkitInvalidType- The dimension is not an ordinate dimension.


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


OrdinateDimensionToLinear

voidOrdinateDimensionToLinear ()

LICENSE: 222

    

Exceptions thrown (but not limited to):

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


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


LinearDimensionToOrdinate

voidLinearDimensionToOrdinate (Dimension Dimension)

LICENSE: 222

    

Exceptions thrown (but not limited to):

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


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


SetDimensionArrowType

voidSetDimensionArrowType (int ArrowIndex, LeaderArrowType ArrowType, /*optional*/ Drawing Drawing)


    

Exceptions thrown (but not limited to):

XToolkitNotFound- The dimension does not exist.

XToolkitInvalidPtr- The dimension owner is invalid.

XToolkitCantModify- The dimension cannot be modified.


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


GetParentDimension

/*optional*/ DimensionGetParentDimension ()


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


GetOriginSide

/*optional*/ IntegerGetOriginSide ()


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


SetOriginSide

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

DualDimensionInstructionsGetDualOptions ( /*optional*/ Drawing Drw)


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


SetDualOptions

voidSetDualOptions ( /*optional*/ Drawing Drw, DualDimensionInstructions 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:


GetDisplayFormat

DimensionDisplayFormatGetDisplayFormat ()


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


SetDisplayFormat

voidSetDisplayFormat (DimensionDisplayFormat Format)


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


GetAdditionalReferences

AnnotationReferencesGetAdditionalReferences (DimensionReferenceType RefType)


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


AddAdditionalReferences

voidAddAdditionalReferences (DimensionReferenceType RefType, AnnotationReferences Refs)


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


DeleteAdditionalReferences

voidDeleteAdditionalReferences (DimensionReferenceType RefType, int 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 WDimension.GetAdditionalReferences(DimensionReferenceType).
Returns:


GetEnvelope

Envelope3DGetEnvelope ( /*optional*/ Drawing Drawing, int 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):

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