Version: 13.0

    Show / Hide Table of Contents

    Class Part

    Inheritance
    System.Object
    System.MarshalByRefObject
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent
    APIBase
    DesignEntity
    Part
    AbstractAssembly
    Component
    Implements
    System.IEquatable<APIBase>
    Inherited Members
    DesignEntity._parent
    DesignEntity.Comment
    DesignEntity.Delete()
    DesignEntity.ID
    DesignEntity.Icon
    DesignEntity.SmallIcon
    DesignEntity.DesignProperties
    DesignEntity.AllDesignEntities
    DesignEntity.AllStatusErrors
    DesignEntity.Status
    DesignEntity.UserSpecifiedData
    DesignEntity.ReportNames
    DesignEntity.OutputDefaultReportTo(String)
    DesignEntity.GetDefaultReportWithEncodedImages()
    DesignEntity.OutputActiveReportTo(String)
    DesignEntity.OutputActiveReportAsTextTo(String)
    DesignEntity.GetActiveReportWithEncodedImages()
    DesignEntity.OutputNamedReportTo(String, String)
    DesignEntity.OutputNamedReportAsMastaReport(String, String)
    DesignEntity.OutputNamedReportAsTextTo(String, String)
    DesignEntity.GetNamedReportWithEncodedImages(String)
    APIBase.DisconnectFromMASTA()
    APIBase.GetProperty<T>(String)
    APIBase.SetProperty(String, Object)
    APIBase.cacheRpds
    APIBase.clearCachedRpds()
    APIBase.getNamedObjectList<TElementType>(String)
    APIBase.getExpandableProperty<TReturnType>(String)
    APIBase.callPartialMethod(String, (T1, T2)<Type, Object>[])
    APIBase.callPartialMethod<T>(String, T)
    APIBase.callPartialMethod<T>(String, (T1, T2)<Type, Object>, T)
    APIBase.callPartialMethod<T>(String, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, T)
    APIBase.callPartialMethod<T>(String, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, T)
    APIBase.callPartialMethod<T1, T2>(String, (T1, T2)<Type, Object>, T1, T2)
    APIBase.getPartialProperty(String)
    APIBase.setPartialProperty(String, Object)
    APIBase.IsValid(String)
    APIBase.IsReadOnly(String)
    APIBase.isInvalid
    APIBase.DocumentationUrl()
    APIBase.ToString()
    APIBase.RunPython<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String)
    APIBase.RunPython<T>(String, String)
    APIBase.CreateObjRef(Type)
    APIBase.RunPython(String, String, Object)
    APIBase.createWrappedRange(Double, Double)
    APIBase.createWrappedVector2D(Double, Double)
    APIBase.createWrappedPosition3D(Double, Double, Double)
    APIBase.Equals(APIBase)
    APIBase.GetHashCode()
    APIBase.Equals(Object)
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent.InitializeLifetimeService()
    Namespace: SMT.MastaAPI.SystemModel.PartModel
    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

    Measurement: Mass

    Declaration
    public Overridable<double> Mass { get; set; }
    Property Value
    Type Description
    Overridable<System.Double>

    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
    Type Description
    MassProperties

    MassPropertiesFromDesignIncludingPlanetaryDuplicates

    Declaration
    public MassProperties MassPropertiesFromDesignIncludingPlanetaryDuplicates { get; }
    Property Value
    Type Description
    MassProperties

    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
    DesignEntity.UniqueName

    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
    Type Description
    Part

    CreateGeometryExportOptions()

    Declaration
    public GeometryExportOptions CreateGeometryExportOptions()
    Returns
    Type Description
    GeometryExportOptions

    DeleteConnections()

    Declaration
    public void DeleteConnections()

    Implements

    System.IEquatable<T>

    Extension Methods

    UtilityMethods.IsReadOnly<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsValid<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsMethodValid<T>(T, Expression<Func<T, Action>>)
    UtilityMethods.IsMethodReadOnly<T>(T, Expression<Func<T, Action>>)
    Back to top