Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

cdfSetUnitScaleFactor

cdfSetUnitScaleFactor(
t_unitName
t_scaleFactor
)
=> t / nil

Description

Sets the scale factor for the specified unit.

Arguments

t_unitName

Specifies the unit name for which you want to set the scale factor.

t_scaleFactor

Specifies the scale factor for the specified unit name.

Value Returned

t

Sets the scale factor for the specified unit.

nil

The scale factor is not set.

Examples

Sets the scale factor for the unit lengthMetric to m (millimeters):

cdfSetUnitScaleFactor("lengthMetric" "m")

Return to top
 ⠀
X