Inserts an ordinate dimension.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddOrdinateDimension( _
ByVal DimType As System.Integer, _
ByVal LocX As System.Double, _
ByVal LocY As System.Double, _
ByVal LocZ As System.Double _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim DimType As System.Integer
Dim LocX As System.Double
Dim LocY As System.Double
Dim LocZ As System.Double
Dim value As System.Integer
value = instance.AddOrdinateDimension(DimType, LocX, LocY, LocZ) |
C# | |
---|
System.int AddOrdinateDimension(
System.int DimType,
System.double LocX,
System.double LocY,
System.double LocZ
) |
C++/CLI | |
---|
System.int AddOrdinateDimension(
& System.int DimType,
& System.double LocX,
& System.double LocY,
& System.double LocZ
) |
Parameters
- DimType
- Dimension type as defined in swAddOrdinateDims_e
- LocX
X location for the dimension
- LocY
Y location for the dimension
- LocZ
- Z location for the dimension
Return Value
Error as defined by
swCreateOrdDimError_e
Example
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0