Version: 13.0

    Show / Hide Table of Contents

    Class MASTAGUI

    Inheritance
    System.Object
    System.MarshalByRefObject
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent
    APIBase
    MASTAGUI
    Implements
    System.IEquatable<APIBase>
    Inherited Members
    APIBase.DisconnectFromMASTA()
    APIBase.GetProperty<T>(String)
    APIBase.SetProperty(String, Object)
    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.SystemModelGUI
    Assembly: SMT.MastaAPI.13.0.dll
    Syntax
    public class MASTAGUI : APIBase, IEquatable<APIBase>

    Constructors

    MASTAGUI(Object)

    Declaration
    public MASTAGUI(object wrapped)
    Parameters
    Type Name Description
    System.Object wrapped

    Fields

    _parent

    Declaration
    protected readonly APIBase _parent
    Field Value
    Type Description
    APIBase

    Properties

    ActiveDesign

    Declaration
    public Design ActiveDesign { get; set; }
    Property Value
    Type Description
    Design

    cacheRpds

    Declaration
    protected override bool cacheRpds { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    APIBase.cacheRpds

    ColorOfNewProblemNodeGroup

    Declaration
    public Color ColorOfNewProblemNodeGroup { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    GeometryModellerFilePathToOpen

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

    GeometryModellerProcessID

    Declaration
    public int GeometryModellerProcessID { get; set; }
    Property Value
    Type Description
    System.Int32

    IsConnectedToGeometryModeller

    Declaration
    public bool IsConnectedToGeometryModeller { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsInitialised

    Declaration
    public bool IsInitialised { get; }
    Property Value
    Type Description
    System.Boolean

    IsPaused

    Declaration
    public bool IsPaused { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsRemoting

    Declaration
    public bool IsRemoting { get; }
    Property Value
    Type Description
    System.Boolean

    NameOfNewProblemNodeGroup

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

    OpenDesigns

    Declaration
    public ReadOnlyCollection<Design> OpenDesigns { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<Design>

    OperationMode

    Declaration
    public OperationMode OperationMode { get; set; }
    Property Value
    Type Description
    OperationMode

    PositionsOfProblemNodeGroup

    Declaration
    public ReadOnlyCollection<Vector3D> PositionsOfProblemNodeGroup { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<Vector3D>

    ProcessId

    Declaration
    public int ProcessId { get; }
    Property Value
    Type Description
    System.Int32

    ReportNames

    Declaration
    public IReadOnlyList<string> ReportNames { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.String>

    RestartGeometryModellerFlag

    Declaration
    public bool RestartGeometryModellerFlag { get; set; }
    Property Value
    Type Description
    System.Boolean

    RestartGeometryModellerSaveFile

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

    SelectedDesignEntity

    Declaration
    public DesignEntity SelectedDesignEntity { get; set; }
    Property Value
    Type Description
    DesignEntity

    Methods

    Aborted()

    Declaration
    public void Aborted()

    AddElectricMachineFromCADFaceGroup(CADFaceGroup, GeometryModellerDesignInformation, Dictionary<String, GeometryModellerDimension>)

    Declaration
    public void AddElectricMachineFromCADFaceGroup(CADFaceGroup cadFaceGroup, GeometryModellerDesignInformation geometryModellerDesignInformation, Dictionary<string, GeometryModellerDimension> dimensions)
    Parameters
    Type Name Description
    CADFaceGroup cadFaceGroup
    GeometryModellerDesignInformation geometryModellerDesignInformation
    System.Collections.Generic.Dictionary<System.String, GeometryModellerDimension> dimensions

    AddFESubstructureFromData(FacetedBody, GeometryModellerDesignInformation, Dictionary<String, GeometryModellerDimension>, String)

    Declaration
    public void AddFESubstructureFromData(FacetedBody verticesAndFacets, GeometryModellerDesignInformation geometryModellerDesignInformation, Dictionary<string, GeometryModellerDimension> dimensions, string bodyMoniker)
    Parameters
    Type Name Description
    FacetedBody verticesAndFacets
    GeometryModellerDesignInformation geometryModellerDesignInformation
    System.Collections.Generic.Dictionary<System.String, GeometryModellerDimension> dimensions
    System.String bodyMoniker

    AddFESubstructureFromFile(Double, String, Dictionary<String, GeometryModellerDimension>)

    Declaration
    public void AddFESubstructureFromFile(double lengthScale, string stlFileName, Dictionary<string, GeometryModellerDimension> dimensions)
    Parameters
    Type Name Description
    System.Double lengthScale
    System.String stlFileName
    System.Collections.Generic.Dictionary<System.String, GeometryModellerDimension> dimensions

    AddLineFromGeometryModeller(CirclesOnAxis)

    Declaration
    public void AddLineFromGeometryModeller(CirclesOnAxis circlesOnAxis)
    Parameters
    Type Name Description
    CirclesOnAxis circlesOnAxis

    AreNewInputAvailable()

    Declaration
    public MeshRequest AreNewInputAvailable()
    Returns
    Type Description
    MeshRequest

    CirclePairsFromGeometryModeller(CirclesOnAxis, List<CirclesOnAxis>)

    Declaration
    public void CirclePairsFromGeometryModeller(CirclesOnAxis preselectionCircles, List<CirclesOnAxis> selectedCircles)
    Parameters
    Type Name Description
    CirclesOnAxis preselectionCircles
    System.Collections.Generic.List<CirclesOnAxis> selectedCircles

    CreateGeometryModellerDesignInformation(String, String, String)

    Declaration
    public GeometryModellerDesignInformation CreateGeometryModellerDesignInformation(string fileName, string mainPartMoniker, string tabName)
    Parameters
    Type Name Description
    System.String fileName
    System.String mainPartMoniker
    System.String tabName
    Returns
    Type Description
    GeometryModellerDesignInformation

    CreateGeometryModellerDimension()

    Declaration
    public GeometryModellerDimension CreateGeometryModellerDimension()
    Returns
    Type Description
    GeometryModellerDimension

    CreateMeshRequestResult()

    Declaration
    public MeshRequestResult CreateMeshRequestResult()
    Returns
    Type Description
    MeshRequestResult

    CreateNewCADFaceGroup()

    Declaration
    public CADFaceGroup CreateNewCADFaceGroup()
    Returns
    Type Description
    CADFaceGroup

    CreateNewCirclesOnAxis()

    Declaration
    public CirclesOnAxis CreateNewCirclesOnAxis()
    Returns
    Type Description
    CirclesOnAxis

    CreateNewFacetedBody()

    Declaration
    public FacetedBody CreateNewFacetedBody()
    Returns
    Type Description
    FacetedBody

    FlagMessageReceived()

    Declaration
    public void FlagMessageReceived()

    GeometryModellerDocumentLoaded()

    Declaration
    public void GeometryModellerDocumentLoaded()

    GetActiveReportWithEncodedImages()

    Declaration
    public string GetActiveReportWithEncodedImages()
    Returns
    Type Description
    System.String

    GetDefaultReportWithEncodedImages()

    Declaration
    public string GetDefaultReportWithEncodedImages()
    Returns
    Type Description
    System.String

    GetMASTAGUI(Int32)

    Declaration
    public static MASTAGUI GetMASTAGUI(int processId)
    Parameters
    Type Name Description
    System.Int32 processId
    Returns
    Type Description
    MASTAGUI

    GetNamedReportWithEncodedImages(String)

    Declaration
    public string GetNamedReportWithEncodedImages(string reportName)
    Parameters
    Type Name Description
    System.String reportName
    Returns
    Type Description
    System.String

    MoveSelectedComponent(Vector3D, Vector3D)

    Declaration
    public void MoveSelectedComponent(Vector3D origin, Vector3D axis)
    Parameters
    Type Name Description
    Vector3D origin
    Vector3D axis

    OpenDesignInNewTab(Design)

    Declaration
    public void OpenDesignInNewTab(Design design)
    Parameters
    Type Name Description
    Design design

    OutputActiveReportAsTextTo(String)

    Declaration
    public void OutputActiveReportAsTextTo(string filePath)
    Parameters
    Type Name Description
    System.String filePath

    OutputActiveReportTo(String)

    Declaration
    public void OutputActiveReportTo(string filePath)
    Parameters
    Type Name Description
    System.String filePath

    OutputDefaultReportTo(String)

    Declaration
    public void OutputDefaultReportTo(string filePath)
    Parameters
    Type Name Description
    System.String filePath

    OutputNamedReportAsMastaReport(String, String)

    Declaration
    public void OutputNamedReportAsMastaReport(string reportName, string filePath)
    Parameters
    Type Name Description
    System.String reportName
    System.String filePath

    OutputNamedReportAsTextTo(String, String)

    Declaration
    public void OutputNamedReportAsTextTo(string reportName, string filePath)
    Parameters
    Type Name Description
    System.String reportName
    System.String filePath

    OutputNamedReportTo(String, String)

    Declaration
    public void OutputNamedReportTo(string reportName, string filePath)
    Parameters
    Type Name Description
    System.String reportName
    System.String filePath

    Pause()

    Declaration
    public void Pause()

    Resume()

    Declaration
    public void Resume()

    RunCommand(String)

    Declaration
    public void RunCommand(string command)
    Parameters
    Type Name Description
    System.String command

    SelectTab(String)

    Declaration
    public void SelectTab(string tabText)
    Parameters
    Type Name Description
    System.String tabText

    SetError(String)

    Declaration
    public void SetError(string error)
    Parameters
    Type Name Description
    System.String error

    SetGeometryModellerMainWindowHandle(IntPtr)

    Declaration
    public void SetGeometryModellerMainWindowHandle(IntPtr handle)
    Parameters
    Type Name Description
    System.IntPtr handle

    SetMeshRequestResult(MeshRequestResult)

    Declaration
    public void SetMeshRequestResult(MeshRequestResult meshRequestResult)
    Parameters
    Type Name Description
    MeshRequestResult meshRequestResult

    ShowBoxes(List<Vector3D>, List<Vector3D>)

    Declaration
    public void ShowBoxes(List<Vector3D> smallBox, List<Vector3D> bigBox)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Vector3D> smallBox
    System.Collections.Generic.List<Vector3D> bigBox

    StartRemoting()

    Declaration
    public void StartRemoting()

    StopRemoting()

    Declaration
    public void StopRemoting()

    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