Indexes   

Dimension (Object)

Represents the dimension parameter.
It is an abstract object which is not intended to be created as such, but from which the length and angle parameters derive.
See also:
Length, Angle

Property Index

Unit
Returns the unit used for this dimension object.

Method Index

ValueAsString2
Gets the value of the parameter as a string, with a given precision.

Properties


o Property Unit() As (Read Only)
Returns the unit used for this dimension object.

Methods


o Func ValueAsString2( iNbDecimals,
iShowTrailingZeros) As
Gets the value of the parameter as a string, with a given precision.

Parameters:
iNbDecimals
the maximum number of decimal places to use to generate the string (minimum 0, maximum 9)
iShowTrailingZeros
this argument says if trailing zeros have to be shown
Example:
This example gets the value of the existing dimension parameter and shows it in a message box
 Dim str
 str = dimension.ValueAsString;
 MessageBox str
 

Copyright © 2006, Dassault Systèmes. All rights reserved.