Class Shape
Shape is the base class for all the shapes in the material file.
Inheritance
Inherited Members
Namespace: DesignData.SDS2.Setup
Assembly: DesignData.SDS2.Setup.dll
Syntax
public class Shape
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
Properties
IsAvailable
Specifies if the size is available from the mill
Declaration
public bool IsAvailable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
SectionSize
The section size string of the shape.
Declaration
public string SectionSize { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
SourceReference
The reference material this shape is pulled from
Declaration
public string SourceReference { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
Methods
Dispose(bool)
Shape is the base class for all the shapes in the material file.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
Equals(object)
Shape is the base class for all the shapes in the material file.
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
object | other |
Returns
Type | Description |
---|---|
bool |
Overrides
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
~Shape()
Shape is the base class for all the shapes in the material file.
Declaration
protected ~Shape()
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
GetHashCode()
Shape is the base class for all the shapes in the material file.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.