Version: 13.0

    Show / Hide Table of Contents

    Class Connection

    Inheritance
    System.Object
    System.MarshalByRefObject
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent
    APIBase
    DesignEntity
    Connection
    AbstractShaftToMountableComponentConnection
    InterMountableComponentConnection
    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.ConnectionsAndSockets
    Assembly: SMT.MastaAPI.13.0.dll
    Syntax
    public abstract class Connection : DesignEntity, IEquatable<APIBase>

    Properties

    ConnectionID

    Declaration
    public string ConnectionID { get; }
    Property Value
    Type Description
    System.String

    DrawingPosition

    Declaration
    public ListWithSelectedItem<string> DrawingPosition { get; set; }
    Property Value
    Type Description
    ListWithSelectedItem<System.String>

    OwnerA

    Declaration
    public Component OwnerA { get; }
    Property Value
    Type Description
    Component

    OwnerB

    Declaration
    public Component OwnerB { get; }
    Property Value
    Type Description
    Component

    SocketA

    Declaration
    public Socket SocketA { get; }
    Property Value
    Type Description
    Socket

    SocketB

    Declaration
    public Socket SocketB { get; }
    Property Value
    Type Description
    Socket

    SpeedRatioFromAToB

    Declaration
    public double SpeedRatioFromAToB { get; }
    Property Value
    Type Description
    System.Double

    TorqueRatioFromAToB

    Declaration
    public double TorqueRatioFromAToB { get; }
    Property Value
    Type Description
    System.Double

    UniqueName

    Declaration
    public override string UniqueName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    DesignEntity.UniqueName

    Methods

    OtherOwner(Component)

    Declaration
    public Component OtherOwner(Component component)
    Parameters
    Type Name Description
    Component component
    Returns
    Type Description
    Component

    OtherSocket(Socket)

    Declaration
    public Socket OtherSocket(Socket socket)
    Parameters
    Type Name Description
    Socket socket
    Returns
    Type Description
    Socket

    OtherSocket(Component)

    Declaration
    public Socket OtherSocket(Component component)
    Parameters
    Type Name Description
    Component component
    Returns
    Type Description
    Socket

    SocketFor(Component)

    Declaration
    public Socket SocketFor(Component component)
    Parameters
    Type Name Description
    Component component
    Returns
    Type Description
    Socket

    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