Class Weld
Weld provides access to information about welds on a member.
Inheritance
Inherited Members
Namespace: DesignData.SDS2.Model
Assembly: DesignData.SDS2.Model.dll
Syntax
public class Weld
Properties
ArrowSide
The 'arrow' side of the weld.
Declaration
public WeldSide ArrowSide { get; }
Property Value
Type | Description |
---|---|
WeldSide |
CustomPropertyMapHandle
A handle to the custom properties for this weld.
Declaration
public CustomPropertyMapHandle CustomPropertyMapHandle { get; }
Property Value
Type | Description |
---|---|
CustomPropertyMapHandle |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException thrown when the weld handle is invalid. |
Guid
The SDS2 Guid/UUID for this weld.
Declaration
public Guid? Guid { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
Handle
Declaration
public WeldHandle Handle { get; }
Property Value
Type | Description |
---|---|
WeldHandle |
IsFieldWeld
True indicates if a weld is applied between in the field. False indicates the weld is applied in the shop.
Declaration
public bool IsFieldWeld { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
IsOtherSideSeparable
Is the other weld side separable.
Declaration
public bool IsOtherSideSeparable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
IsSpacerBarRequired
Indicates the supplementary symbol for a spacer bar ('M' inside a rectangle) will be drawn as a part of the weld symbol for V and Bevel groove welds
Declaration
public bool IsSpacerBarRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
IsStitched
Is the weld stitched
Declaration
public bool IsStitched { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
NotAddedException | Thrown when setting data on the object without having added it to a transaction |
NotLockedException | Thrown when reading or writing the property of an object that was added to a transaction but is unlocked |
IsSystemGenerated
Is the weld system generated.
Declaration
public bool IsSystemGenerated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
IsWeldedAllAround
Indicates a weld-all-around weld
Declaration
public bool IsWeldedAllAround { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
JointDesignation
A letter (1 character) prequalified weld tail joint designation.
Declaration
public string JointDesignation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist or is set to an invalid value. |
Material
One of the materials welded by this weld
Declaration
public Material Material { get; }
Property Value
Type | Description |
---|---|
Material |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
Normal1
One of the normal directions, in global coordinates, for the weld
Declaration
public Vector3D Normal1 { get; }
Property Value
Type | Description |
---|---|
Vector3D |
Normal2
One of the normal directions, in global coordinates, for the weld
Declaration
public Vector3D Normal2 { get; }
Property Value
Type | Description |
---|---|
Vector3D |
Origin
The origin, in global inches, of the weld
Declaration
public Point3D Origin { get; }
Property Value
Type | Description |
---|---|
Point3D |
OtherSide
The 'other' side of the weld.
Declaration
public WeldSide OtherSide { get; }
Property Value
Type | Description |
---|---|
WeldSide |
OtherStitchType
Stitch spacing type for the other side.
Declaration
public StitchType OtherStitchType { get; set; }
Property Value
Type | Description |
---|---|
StitchType |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
NotAddedException | Thrown when setting data on the object without having added it to a transaction |
NotLockedException | Thrown when reading or writing the property of an object that was added to a transaction but is unlocked |
Penetration
Prequalified weld tail penetration
Declaration
public WeldPenetrationType Penetration { get; set; }
Property Value
Type | Description |
---|---|
WeldPenetrationType |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
Position
Prequalified weld tail position
Declaration
public WeldPositionType Position { get; set; }
Property Value
Type | Description |
---|---|
WeldPositionType |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
Process
Prequalified weld tail process
Declaration
public WeldProcessType Process { get; set; }
Property Value
Type | Description |
---|---|
WeldProcessType |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
TailText
Prequalified weld tail text
Declaration
public string TailText { get; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
ToGlobalCoordinates
Matrix, in inches, representing a transformation from weld coordinates to global coordinates
Declaration
public Matrix ToGlobalCoordinates { get; }
Property Value
Type | Description |
---|---|
Matrix |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
ToMemberCoordinates
Matrix, in inches, representing a transformation from weld coordinates to member coordinates
Declaration
public Matrix ToMemberCoordinates { get; }
Property Value
Type | Description |
---|---|
Matrix |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
UsePrequalifiedWeldTailText
Determines whether PrequalifiedTailText, WeldJointType, JointDesignation, Process, and Position are used
Declaration
public bool UsePrequalifiedWeldTailText { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
WeldJoint
Prequalified weld tail joint
Declaration
public WeldJointType WeldJoint { get; set; }
Property Value
Type | Description |
---|---|
WeldJointType |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |
Methods
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Finalize()
Declaration
protected void Finalize()
GetSurface()
The Surface, or polygons, for this weld, in weld coordinates, which also happens to be global coordinates.
Declaration
public Surface GetSurface()
Returns
Type | Description |
---|---|
Surface |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the weld does not exist. |