Class Member
All member data, including data which is slow to access in the SDS2 database.
Inheritance
Inherited Members
Namespace: DesignData.SDS2.Model
Assembly: DesignData.SDS2.Model.dll
Syntax
public class Member : MemberBrief
Properties
Ends
Get both ends in a single list, left then right.
Declaration
public MemberEndList Ends { get; }
Property Value
Type | Description |
---|---|
MemberEndList |
LiftAssignmentDescription
A description of any assigned crane lift assignment for this member.
Declaration
public string LiftAssignmentDescription { get; }
Property Value
Type | Description |
---|---|
System.String |
UseSingleMaterialForWeldedShape
This only applies to the main material, and does not necessarily apply to all member types. This definitely applies to beams, columns, vertical braces, and purlins.
If true, SDS2 will create a single piece of material to represent several welded plates. If false, it will create plates as individual pieces and weld them together.
Declaration
public bool UseSingleMaterialForWeldedShape { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Add(DetailView)
Add a new user view. These views are not visable via GetViews() until The transaction is committed. In some cases, adding a view may replace existing views instead of creating a new view. For example, adding a main view will replace the current main view. Adding a cross section view will create a new view.
Declaration
public void Add(DetailView view)
Parameters
Type | Name | Description |
---|---|---|
DetailView | view |
Remarks
Adding a view will add the same view to all members that share the same piecemark as defined by the piecemark before the transaction is committed. As such, developers should add views after committing any piecemark related changes.
Exceptions
Type | Condition |
---|---|
NotAddedException | If there is no Transaction |
NotLockedException | Thrown when the member is unlocked. |
InvalidValueException | Thrown when the view is null or the member has not been added to the database. |
Add(Material)
Add a new Material.
Declaration
public void Add(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material |
Add(Member)
Add a new Member to the current Transaction.
Declaration
public static void Add(Member member)
Parameters
Type | Name | Description |
---|---|---|
Member | member |
Exceptions
Type | Condition |
---|---|
NotAddedException | If there is no Transaction or the Member has already been added to the database. |
Delete(DetailView)
Delete a view. Deleted views are not visable via GetViews() until The transaction is committed.
Declaration
public void Delete(DetailView view)
Parameters
Type | Name | Description |
---|---|---|
DetailView | view |
Remarks
Deleting a view will delete the same view from all members that share the same piecemark as defined by the piecemark before the transaction is committed. As such, developers should delete views after committing any piecemark related changes. Deleting a view that does not exist does nothing. There are no views to delete on standalone members.
Exceptions
Type | Condition |
---|---|
InvalidValueException | Thrown the member has not been added to the databbase or when deleting a member's main view. To replace the main view, use Add() |
NotAddedException | If there is no Transaction |
NotLockedException | Thrown when the member is unlocked. |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Get(MemberHandle)
Get a Member object for the MemberHandle passed in.
Declaration
public static Member Get(MemberHandle memberHandle)
Parameters
Type | Name | Description |
---|---|---|
MemberHandle | memberHandle |
Returns
Type | Description |
---|---|
Member |
GetBolts()
The list of all bolts on the members.
Declaration
public BoltList GetBolts()
Returns
Type | Description |
---|---|
BoltList |
GetComponents()
Get a list of all components on this member
Declaration
public ComponentList GetComponents()
Returns
Type | Description |
---|---|
ComponentList |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | If this member has not been added and committed we cannot lookup materials for it. |
GetMaterial()
Return a list of all Material on the Member.
Declaration
public MaterialList GetMaterial()
Returns
Type | Description |
---|---|
MaterialList |
GetViews()
Get a deep copy of all views on this member
Declaration
public DetailViewList GetViews()
Returns
Type | Description |
---|---|
DetailViewList |
GetWelds()
Return a list of all welds on the member.
Declaration
public WeldList GetWelds()
Returns
Type | Description |
---|---|
WeldList |