Class SmartReal
Represents a smart real value.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: TopSolid.Kernel.Automating.dll
Syntax
[DataContract]
[AvailableSinceVersion(7, 6, 0, 0)]
public class SmartReal : SmartObject
Remarks
This class is available since v7.6.
Constructors
| Name | Description |
|---|---|
| SmartReal(ElementId) | Initializes a new instance of the SmartReal class of type Element. |
| SmartReal(ElementId, ItemLabel) | Initializes a new instance of the SmartReal class of type Item. |
| SmartReal(SmartRealType, UnitType, string, double?, ElementId, ItemLabel, string) | Initializes a new instance of the SmartReal class. |
| SmartReal(SmartRealType, UnitType, string, double?, ElementId, ItemLabel, string, ScriptType) | Initializes a new instance of the SmartReal class. |
| SmartReal(UnitType, double) | Initializes a new instance of the SmartReal class of type Basic. |
| SmartReal(UnitType, double, string) | Initializes a new instance of the SmartReal class of type Basic with tolerance. |
| SmartReal(UnitType, string) | Initializes a new instance of the SmartReal class of type Formula. |
| SmartReal(UnitType, string, string) | Initializes a new instance of the SmartReal class of type Formula with tolerance. |
| SmartReal(UnitType, string, string, ScriptType) | Initializes a new instance of the SmartReal class of type Formula with tolerance and script. |
| SmartReal(UnitType, string, ScriptType) | Initializes a new instance of the SmartReal class of type Formula. |
Fields
| Name | Description |
|---|---|
| ElementId | Providing element identifier, or empty if none. |
| Formula | Formula, or null if none. |
| ItemLabel | Providing element item label, or empty if none. |
| ScriptType | Type of script. |
| Tolerance | Tolerance, or null if none. |
| Type | Type of smart real. |
| UnitSymbol | Unit symbol in English, or null if unknown. |
| UnitType | Unit type, or None if unknown. |
| Value | Value in SI units, or null if unknown. |