Class StructuralProperty
A single structural property value. These are similar to a value type, when you get one it is always a copy. So to commit any changes, you have to assign back your modified StructuralProperty from where you got it.
Inheritance
Inherited Members
Namespace: DesignData.SDS2.Setup
Assembly: DesignData.SDS2.Setup.dll
Syntax
public sealed class StructuralProperty
Constructors
StructuralProperty()
An empty StructuralProperty, UserValue, FormulaValue, and UsedValue will all be null. FormulaValue will never be calculated, but UserValue can be set and then the property can be assigned to an existing one (this will not impact calculation of FormulaValue for subsequent retrievals of the property)
Declaration
public StructuralProperty()
StructuralProperty(Nullable<Double>)
Create a structural property with the user value set to this. Formula value will be inoperable
Declaration
public StructuralProperty(double? value)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Double> | value |
Properties
FormulaValue
The calculated formula value in the material file for this property. null if this Shape lacks formula values for this property
Declaration
public double? FormulaValue { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
UsedValue
The value the system will use (should be either UserValue or FormulaValue. The system prefers UserValue over FormulaValue when it is present. In some cases this could be null if there is no FormulaValue or UserValue.
Declaration
public double? UsedValue { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
UserValue
The value manually entered into the material file for this property. null if no value was entered.
Declaration
public double? UserValue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Methods
Finalize()
Declaration
protected void Finalize()
Operators
Implicit(Nullable<Double> to StructuralProperty)
Implicitly cast from double? to a StructuralProperty with the user value set to that double?
Declaration
public static implicit operator StructuralProperty(double? value)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Double> | value |
Returns
Type | Description |
---|---|
StructuralProperty |