Adds or edits a linear foreshortened dimension.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0
Syntax
VB
Function AddLinearForeshortened ( name As String, textOrigin As LinearDimensionTextPositionSpec, intentOne As GeometryIntent, intentTwo As GeometryIntent, Optional hideSecondArrowHead As Boolean = false, Optional dimensionStyle As DimensionStyle = Nothing, Optional layer As Layer = Nothing ) As IManagedLinearGeneralDimension
C#
IManagedLinearGeneralDimension AddLinearForeshortened( string name, LinearDimensionTextPositionSpec textOrigin, GeometryIntent intentOne, GeometryIntent intentTwo, bool hideSecondArrowHead = false, DimensionStyle dimensionStyle = null, Layer layer = null )
Parameters
- name
- Type: System.String
The name of the dimension. - textOrigin
- Type: Autodesk.iLogic.Types.LinearDimensionTextPositionSpec
The position of the dimension text on the sheet. - intentOne
- Type: GeometryIntent
Specifies the first geometry to dimension. This can be created using the GetIntent method on the IManagedDrawingView object. - intentTwo
- Type: GeometryIntent
Specifies the second geometry to dimension. - hideSecondArrowHead (Optional)
- Type: System.Boolean
Specifies whether to hide the second arrowhead of the dimension. Default: False. - dimensionStyle (Optional)
- Type: DimensionStyle
The dimension style to use for the dimension. If not specified, the style defined by the active standard is used. - layer (Optional)
- Type: Layer
The layer to use for the dimension. If not specified, the layer defined by the active standard is used.
Return Value
Type: IManagedLinearGeneralDimensionThe dimension.