Constructor SmartReal
SmartReal(SmartRealType, UnitType, string, double?, ElementId, ItemLabel, string)
Initializes a new instance of the SmartReal class.
Declaration
public SmartReal(SmartRealType inType, UnitType inUnitType, string inUnitSymbol, double? inValue, ElementId inElementId, ItemLabel inItemLabel, string inFormula)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartRealType | inType | Type of smart real. |
| UnitType | inUnitType | Type of units, or None if unknown. |
| string | inUnitSymbol | Unit symbol in English, or null if unknown. |
| double? | inValue | Value in SI units, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
| string | inFormula | Formula, or null for none. |
SmartReal(SmartRealType, UnitType, string, double?, ElementId, ItemLabel, string, ScriptType)
Initializes a new instance of the SmartReal class.
Declaration
public SmartReal(SmartRealType inType, UnitType inUnitType, string inUnitSymbol, double? inValue, ElementId inElementId, ItemLabel inItemLabel, string inFormula, ScriptType inScriptType)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartRealType | inType | Type of smart real. |
| UnitType | inUnitType | Type of units, or None if unknown. |
| string | inUnitSymbol | Unit symbol in English, or null if unknown. |
| double? | inValue | Value in SI units, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
| string | inFormula | Formula, or null for none. |
| ScriptType | inScriptType | Type of script. |
SmartReal(UnitType, double)
Declaration
public SmartReal(UnitType inUnitType, double inValue)
Parameters
| Type | Name | Description |
|---|---|---|
| UnitType | inUnitType | Type of units. |
| double | inValue | Value in SI units. |
SmartReal(UnitType, double, string)
Declaration
public SmartReal(UnitType inUnitType, double inValue, string inTolerance)
Parameters
| Type | Name | Description |
|---|---|---|
| UnitType | inUnitType | Type of units. |
| double | inValue | Value in SI units. |
| string | inTolerance | Tolerance. |
SmartReal(ElementId)
Declaration
public SmartReal(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
SmartReal(ElementId, ItemLabel)
Declaration
public SmartReal(ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |
SmartReal(UnitType, string)
Declaration
public SmartReal(UnitType inUnitType, string inFormula)
Parameters
| Type | Name | Description |
|---|---|---|
| UnitType | inUnitType | Type of units. |
| string | inFormula | Formula. |
SmartReal(UnitType, string, ScriptType)
Declaration
public SmartReal(UnitType inUnitType, string inFormula, ScriptType inScriptType)
Parameters
| Type | Name | Description |
|---|---|---|
| UnitType | inUnitType | Type of units. |
| string | inFormula | Formula. |
| ScriptType | inScriptType | Type of script. |
SmartReal(UnitType, string, string)
Declaration
public SmartReal(UnitType inUnitType, string inFormula, string inTolerance)
Parameters
| Type | Name | Description |
|---|---|---|
| UnitType | inUnitType | Type of units. |
| string | inFormula | Formula. |
| string | inTolerance | Tolerance. |
SmartReal(UnitType, string, string, ScriptType)
Declaration
public SmartReal(UnitType inUnitType, string inFormula, string inTolerance, ScriptType inScriptType)
Parameters
| Type | Name | Description |
|---|---|---|
| UnitType | inUnitType | Type of units. |
| string | inFormula | Formula. |
| string | inTolerance | Tolerance. |
| ScriptType | inScriptType | Type of script. |