Show / Hide Table of Contents

    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
    object
    StructuralProperty
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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(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
    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
    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
    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
    double?

    Methods

    ~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.

    Declaration
    protected ~StructuralProperty()

    Operators

    implicit operator StructuralProperty(double?)

    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
    double? value
    Returns
    Type Description
    StructuralProperty
    Back to top