Class Part
Inheritance
System.Object
System.MarshalByRefObject
SMT.MastaAPIUtility.MarshalByRefObjectPermanent
Part
Inherited Members
APIBase.callPartialMethod<T>(String, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, T)
SMT.MastaAPIUtility.MarshalByRefObjectPermanent.InitializeLifetimeService()
Assembly: SMT.MastaAPI.13.0.dll
Syntax
public abstract class Part : DesignEntity, IEquatable<APIBase>
Properties
Connections
Declaration
public virtual ReadOnlyCollection<Connection> Connections { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ReadOnlyCollection<Connection> |
|
DrawingNumber
The current drawing revision of this part
Declaration
public string DrawingNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
EditableName
Can be used to make an editor where names can be pasted in
Declaration
public string EditableName { get; set; }
Property Value
Type |
Description |
System.String |
|
LocalConnections
Declaration
public virtual ReadOnlyCollection<Connection> LocalConnections { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ReadOnlyCollection<Connection> |
|
Mass
Declaration
public Overridable<double> Mass { get; set; }
Property Value
MassPropertiesFromDesign
These are accurate but may not be consistent with the node model (e.g. tapered bars). Measured in World Coordinate System.
Declaration
public MassProperties MassPropertiesFromDesign { get; }
Property Value
MassPropertiesFromDesignIncludingPlanetaryDuplicates
Declaration
public MassProperties MassPropertiesFromDesignIncludingPlanetaryDuplicates { get; }
Property Value
ThreeDIsometricView
Declaration
public SMTBitmap ThreeDIsometricView { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
ThreeDView
Declaration
public SMTBitmap ThreeDView { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
ThreeDViewOrientatedInXyPlaneWithZAxisPointingIntoTheScreen
Declaration
public SMTBitmap ThreeDViewOrientatedInXyPlaneWithZAxisPointingIntoTheScreen { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
ThreeDViewOrientatedInXyPlaneWithZAxisPointingOutOfTheScreen
Declaration
public SMTBitmap ThreeDViewOrientatedInXyPlaneWithZAxisPointingOutOfTheScreen { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
ThreeDViewOrientatedInXzPlaneWithYAxisPointingIntoTheScreen
Declaration
public SMTBitmap ThreeDViewOrientatedInXzPlaneWithYAxisPointingIntoTheScreen { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
ThreeDViewOrientatedInXzPlaneWithYAxisPointingOutOfTheScreen
Declaration
public SMTBitmap ThreeDViewOrientatedInXzPlaneWithYAxisPointingOutOfTheScreen { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
ThreeDViewOrientatedInYzPlaneWithXAxisPointingIntoTheScreen
Declaration
public SMTBitmap ThreeDViewOrientatedInYzPlaneWithXAxisPointingIntoTheScreen { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
ThreeDViewOrientatedInYzPlaneWithXAxisPointingOutOfTheScreen
Declaration
public SMTBitmap ThreeDViewOrientatedInYzPlaneWithXAxisPointingOutOfTheScreen { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
TwoDDrawing
Declaration
public SMTBitmap TwoDDrawing { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
TwoDDrawingFullModel
Declaration
public SMTBitmap TwoDDrawingFullModel { get; }
Property Value
Type |
Description |
SMT.MastaAPIUtility.Scripting.SMTBitmap |
|
UniqueName
Declaration
public override string UniqueName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
ConnectionsTo(Part)
Declaration
public ReadOnlyCollection<Connection> ConnectionsTo(Part part)
Parameters
Type |
Name |
Description |
Part |
part |
|
Returns
Type |
Description |
System.Collections.ObjectModel.ReadOnlyCollection<Connection> |
|
CopyTo(Assembly)
Declaration
public Part CopyTo(Assembly container)
Parameters
Type |
Name |
Description |
Assembly |
container |
|
Returns
CreateGeometryExportOptions()
Declaration
public GeometryExportOptions CreateGeometryExportOptions()
Returns
DeleteConnections()
Declaration
public void DeleteConnections()
Implements
System.IEquatable<T>
Extension Methods