Creates the specified display dimension at the specified location for selected entities.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddSpecificDimension( _
ByVal X As System.Double, _
ByVal Y As System.Double, _
ByVal Z As System.Double, _
ByVal DimensionType As System.Integer, _
ByRef Error 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 DimensionType As System.Integer
Dim Error As System.Integer
Dim value As System.Object
value = instance.AddSpecificDimension(X, Y, Z, DimensionType, Error) |
C# | |
---|
System.object AddSpecificDimension(
System.double X,
System.double Y,
System.double Z,
System.int DimensionType,
out System.int Error
) |
C++/CLI | |
---|
System.Object^ AddSpecificDimension(
& System.double X,
& System.double Y,
& System.double Z,
& System.int DimensionType,
& [Out] System.int Error
) |
Parameters
- X
- X coordinate of display dimension text
- Y
- Y coordinate of display dimension text
- Z
- Z coordinate of display dimension text
- DimensionType
- Type of dimension to add as defined in swDimensionType_e (see Remarks)
- Error
- Result status as defined in swAddSpecificDimension_e
Return Value
IDisplayDimension (see
Remarks)
Example
Remarks
See Also
Availability
SOLIDWORKS 2018 FCS, Revision Number 26.0