Search Results for

    Show / Hide Table of Contents

    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)

    Initializes a new instance of the SmartReal class of type Basic.

    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)

    Initializes a new instance of the SmartReal class of type Basic with tolerance.

    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)

    Initializes a new instance of the SmartReal class of type Element.

    Declaration
    public SmartReal(ElementId inElementId)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of providing element.

    SmartReal(ElementId, ItemLabel)

    Initializes a new instance of the SmartReal class of type Item.

    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)

    Initializes a new instance of the SmartReal class of type Formula.

    Declaration
    public SmartReal(UnitType inUnitType, string inFormula)
    Parameters
    Type Name Description
    UnitType inUnitType

    Type of units.

    string inFormula

    Formula.

    SmartReal(UnitType, string, ScriptType)

    Initializes a new instance of the SmartReal class of type Formula.

    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)

    Initializes a new instance of the SmartReal class of type Formula with tolerance.

    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)

    Initializes a new instance of the SmartReal class of type Formula with tolerance and script.

    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.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.