Search Results for

    Show / Hide Table of Contents

    Class SmartReal

    Represents a smart real value.

    Inheritance
    Object
    SmartObject
    SmartReal
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: TopSolid.Kernel.Automating
    Assembly: cs.temp.dll.dll
    Syntax
    [AvailableSinceVersion(7, 6, 0, 0)]
    public class SmartReal : SmartObject
    Remarks

    This class is available since v7.6.

    Constructors

    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(SmartRealType, UnitType, String, Nullable<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.

    Nullable<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, Nullable<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.

    Nullable<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(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, 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.

    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.

    Fields

    ElementId

    Providing element identifier, or empty if none.

    Declaration
    public ElementId ElementId
    Field Value
    Type Description
    ElementId

    Formula

    Formula, or null if none.

    Declaration
    public string Formula
    Field Value
    Type Description
    String

    ItemLabel

    Providing element item label, or empty if none.

    Declaration
    public ItemLabel ItemLabel
    Field Value
    Type Description
    ItemLabel

    ScriptType

    Type of script.

    Declaration
    public ScriptType ScriptType
    Field Value
    Type Description
    ScriptType

    Tolerance

    Tolerance, or null if none.

    Declaration
    public string Tolerance
    Field Value
    Type Description
    String

    Type

    Type of smart real.

    Declaration
    public SmartRealType Type
    Field Value
    Type Description
    SmartRealType

    UnitSymbol

    Unit symbol in English, or null if unknown.

    Declaration
    public string UnitSymbol
    Field Value
    Type Description
    String

    UnitType

    Unit type, or None if unknown.

    Declaration
    public UnitType UnitType
    Field Value
    Type Description
    UnitType

    Value

    Value in SI units, or null if unknown.

    Declaration
    public double? Value
    Field Value
    Type Description
    Nullable<Double>
    In This Article
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2024 TopSolid - All rights reserved.