Extending product function with VBA : The System Architect object model : Object model classes : Definition class : Definition class: Methods : Get metric
  
Get metric
Calls certain lists, calculations, and pieces of internal functionality pertaining to definitions.
Syntax
Definition Object.GetMetric Metric[, FieldType[, NbrChars[, NbrDec]]]
Parameters
Definition Object
Use: Required
Data type: Object
Any instantiated Definition class
Metric
Use: Required
Data type: DEFINITIONMETRIC
Definition Metric: see Definition metrics.
FieldType
Use: Optional
Data type: FLDTYPE
NbrChars
Use: Optional
Data type: Long
If the Field Type has been entered, then this parameter tells System Architect how many characters are to be returned before the decimal point.
NbrDec
Use: Optional
Data type: Long
If the Field Type has been entered, then this parameter tells System Architect how many numbers are to be returned after the decimal point.
See also
Definition class: Methods