Class Tube
A tube material
Inherited Members
Namespace: DesignData.SDS2.Model
Assembly: DesignData.SDS2.Model.dll
Syntax
public sealed class Tube : RolledShapeMaterial, ICuttableEndMaterial, IRollingOperation
Constructors
Tube()
A tube material
Declaration
public Tube()
Tube(TubeShape)
A tube material
Declaration
public Tube(TubeShape shape)
Parameters
Type | Name | Description |
---|---|---|
TubeShape | shape |
Properties
AvailableSteelGrades
A list of steel grades, valid for Tube, which can be assigned to the Grade property of a Tube
Declaration
public static SteelGradeList AvailableSteelGrades { get; }
Property Value
Type | Description |
---|---|
SteelGradeList |
Grade
Returns a steel grade, or null if not applicable
Declaration
public SteelGrade Grade { get; set; }
Property Value
Type | Description |
---|---|
SteelGrade |
Remarks
To set a grade look for the Grade property on the derived class. You'll need to choose a grade from an appropriate grade list for that material type. Which can be found in a static property, on that class, called AvailableSteelGrades.
Exceptions
Type | Condition |
---|---|
InvalidValueException | Attempting to set a grade not in this type of material's grade list will throw an InvalidValueException. This is determined by searching that grade list for a grade which is equal (operator ==). |
IsLongLegVertical
Whether the longer leg of this material is point up or down.
Declaration
public bool IsLongLegVertical { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Dispose(bool)
A tube material
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |