Class Tube
A tube material
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DesignData.SDS2.Model
Assembly: DesignData.SDS2.Model.dll
Syntax
public sealed class Tube : RolledShapeMaterial, ICuttableEndMaterial, IRollingOperation
Constructors
Tube()
Declaration
public Tube()
Tube(TubeShape)
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 |
---|---|
System.Boolean |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |