Creates a display dimension at the specified location for selected entities.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddDimension( _
ByVal X As System.Double, _
ByVal Y As System.Double, _
ByVal Z As System.Double, _
ByVal Direction As System.Integer _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim X As System.Double
Dim Y As System.Double
Dim Z As System.Double
Dim Direction As System.Integer
Dim value As System.Object
value = instance.AddDimension(X, Y, Z, Direction) |
C# | |
---|
System.object AddDimension(
System.double X,
System.double Y,
System.double Z,
System.int Direction
) |
C++/CLI | |
---|
System.Object^ AddDimension(
& System.double X,
& System.double Y,
& System.double Z,
& System.int Direction
) |
Parameters
- X
- X coordinate of display dimension text
- Y
- Y coordinate of display dimension text
- Z
- Z coordinate of display dimension text
- Direction
- Direction of dimensioning extension line or rapid dimensioning quadrant as defined in swSmartDimensionDirection_e (see Remarks)
Return Value
IDisplayDimension
Example
Remarks
See Also
Availability
SOLIDWORKS 2015 FCS, Revision Number 23.0