Library | File

Class pfcUnitConversionOptions

# include <pfcUnits.h>

class pfcUnitConversionOptions
 : public virtual xobject
{
    xdeclare(pfcUnitConversionOptions)
    ...
};
This is a COMPACT class.



Description

This class describes changing the principal unit system of a model.



Method Summary

static pfcUnitConversionOptions_ptrCreate (pfcUnitDimensionConversion DimensionOption)
Creates a new unit conversion options object.
pfcUnitDimensionConversionGetDimensionOption ()
voidSetDimensionOption (pfcUnitDimensionConversion value)
How the dimensions of the model should be converted.
optional xboolGetIgnoreParamUnits ()
voidSetIgnoreParamUnits (optional xbool value)
This boolean specifies whether to (or not to) ignore parameter units. If null or true parameter values and units will not be changed when changing the model unit system. If false, parameter units will be converted according to the rule specified for dimensions.



Method Detail

pfcUnitDimensionConversionGetDimensionOption ()
voidSetDimensionOption (pfcUnitDimensionConversion value)

How the dimensions of the model should be converted.
Manual References:
Solid: Conversion to a New Unit System, Solid: Conversion to a New Unit System




optional xboolGetIgnoreParamUnits ()
voidSetIgnoreParamUnits (optional xbool value)

This boolean specifies whether to (or not to) ignore parameter units. If null or true parameter values and units will not be changed when changing the model unit system. If false, parameter units will be converted according to the rule specified for dimensions.
Manual References:
Solid: Conversion to a New Unit System




static pfcUnitConversionOptions_ptrCreate (pfcUnitDimensionConversion DimensionOption)

Creates a new unit conversion options object.
Manual References:
Solid: Conversion to a New Unit System, Solid: Conversion to a New Unit System
Parameters:
DimensionOption
How the dimensions of the model should be converted.
Returns:
The new object.