Class MASTAGUI
Inheritance
System.Object
System.MarshalByRefObject
SMT.MastaAPIUtility.MarshalByRefObjectPermanent
MASTAGUI
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 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
Properties
ActiveDesign
Declaration
public Design ActiveDesign { get; set; }
Property Value
cacheRpds
Declaration
protected override bool cacheRpds { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
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
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
Methods
Aborted()
Declaration
Declaration
public void AddElectricMachineFromCADFaceGroup(CADFaceGroup cadFaceGroup, GeometryModellerDesignInformation geometryModellerDesignInformation, Dictionary<string, GeometryModellerDimension> dimensions)
Parameters
AddFESubstructureFromData(FacetedBody, GeometryModellerDesignInformation, Dictionary<String, GeometryModellerDimension>, String)
Declaration
public void AddFESubstructureFromData(FacetedBody verticesAndFacets, GeometryModellerDesignInformation geometryModellerDesignInformation, Dictionary<string, GeometryModellerDimension> dimensions, string bodyMoniker)
Parameters
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
Declaration
public MeshRequest AreNewInputAvailable()
Returns
CirclePairsFromGeometryModeller(CirclesOnAxis, List<CirclesOnAxis>)
Declaration
public void CirclePairsFromGeometryModeller(CirclesOnAxis preselectionCircles, List<CirclesOnAxis> selectedCircles)
Parameters
Declaration
public GeometryModellerDesignInformation CreateGeometryModellerDesignInformation(string fileName, string mainPartMoniker, string tabName)
Parameters
| Type |
Name |
Description |
| System.String |
fileName |
|
| System.String |
mainPartMoniker |
|
| System.String |
tabName |
|
Returns
CreateGeometryModellerDimension()
Declaration
public GeometryModellerDimension CreateGeometryModellerDimension()
Returns
CreateMeshRequestResult()
Declaration
public MeshRequestResult CreateMeshRequestResult()
Returns
CreateNewCADFaceGroup()
Declaration
public CADFaceGroup CreateNewCADFaceGroup()
Returns
CreateNewCirclesOnAxis()
Declaration
public CirclesOnAxis CreateNewCirclesOnAxis()
Returns
CreateNewFacetedBody()
Declaration
public FacetedBody CreateNewFacetedBody()
Returns
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
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
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
Resume()
Declaration
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
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