Class MASTAGUI
Inheritance
System.Object
MASTAGUI
Assembly: SMT.MastaAPI.15.0.dll
Syntax
public sealed class MASTAGUI : APIBase, IEquatable<APIBase>
Constructors
MASTAGUI(Object)
Declaration
public MASTAGUI(object wrapped)
Parameters
Type |
Name |
Description |
System.Object |
wrapped |
|
Properties
ActiveDesign
Declaration
public Design ActiveDesign { get; set; }
Property Value
cacheRpds
Declaration
protected override bool cacheRpds { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
CanUseAutoMethodForComponentImport
Declaration
public bool CanUseAutoMethodForComponentImport { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ClearComponentProfileLines
Declaration
public bool ClearComponentProfileLines { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ClearComponentSelection
Declaration
public bool ClearComponentSelection { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ColorOfNewProblemNodeGroup
Declaration
public Color ColorOfNewProblemNodeGroup { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
GearTipRadiusClashTestRequest
Declaration
public GearTipRadiusClashTest GearTipRadiusClashTestRequest { get; set; }
Property Value
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 |
|
InDxfLineSelectMode
Declaration
public bool InDxfLineSelectMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
|
ProfileForGeometryModeller
Declaration
public ShaftProfileFromImport ProfileForGeometryModeller { get; set; }
Property Value
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
TextForManualComponentImport
Declaration
public string TextForManualComponentImport { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Aborted()
Declaration
Declaration
public void AddElectricMachineFromCADFaceGroup(CADFaceGroup cadFaceGroup, GeometryModellerDesignInformation geometryModellerDesignInformation, Dictionary<string, GeometryModellerDimension> dimensions)
Parameters
AddFESubstructureFromData(FacetedBody, GeometryModellerDesignInformation, Dictionary<String, GeometryModellerDimension>, IReadOnlyList<String>)
Declaration
public void AddFESubstructureFromData(FacetedBody verticesAndFacets, GeometryModellerDesignInformation geometryModellerDesignInformation, Dictionary<string, GeometryModellerDimension> dimensions, IReadOnlyList<string> bodyMonikers)
Parameters
Declaration
public void AddFESubstructureFromFile(double lengthScale, string stlFileName, GeometryModellerDesignInformation geometryModellerDesignInformation, Dictionary<string, GeometryModellerDimension> dimensions)
Parameters
AddLineFromGeometryModeller(CirclesOnAxis)
Declaration
public void AddLineFromGeometryModeller(CirclesOnAxis circlesOnAxis)
Parameters
AddShaftFromGeometryModeller(ShaftProfileFromImport, ShaftProfileFromImport)
Declaration
public void AddShaftFromGeometryModeller(ShaftProfileFromImport importedProfileWithoutFeatures, ShaftProfileFromImport importedProfileWithFeatures)
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
CreateShaftProfileFromImport(String, String)
Declaration
public ShaftProfileFromImport CreateShaftProfileFromImport(string moniker, string windowName)
Parameters
Type |
Name |
Description |
System.String |
moniker |
|
System.String |
windowName |
|
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 |
|
SaveActiveReport(String)
Declaration
public void SaveActiveReport(string file)
Parameters
Type |
Name |
Description |
System.String |
file |
|
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 |
|
SetGearTipDiameterClashTestResult(GearTipRadiusClashTest)
Declaration
public void SetGearTipDiameterClashTestResult(GearTipRadiusClashTest result)
Parameters
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> smallBoxCorners, List<Vector3D> bigBoxCorners)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Vector3D> |
smallBoxCorners |
|
System.Collections.Generic.List<Vector3D> |
bigBoxCorners |
|
StartRemoting()
Declaration
public void StartRemoting()
StopRemoting()
Declaration
public void StopRemoting()
Implements
System.IEquatable<T>
Extension Methods