Interface IST_Project
CAM project management interface
Namespace: STApplication
Assembly: STApplication.dll
Syntax
[Guid("04EB76F5-12DA-49BD-B47C-DCEBFCDDB75A")]
public interface IST_Project
Properties
CurrentOperation
Currently active operation
Declaration
object CurrentOperation { get; }
Property Value
| Type | Description |
|---|---|
| object |
FullModel
Get model of project object
Declaration
ISS_FullModel FullModel { get; }
Property Value
| Type | Description |
|---|---|
| ISS_FullModel |
GlobalMachineEvaluator
Global machine evaluator
Declaration
IST_MachineEvaluator GlobalMachineEvaluator { get; }
Property Value
| Type | Description |
|---|---|
| IST_MachineEvaluator |
Technologist
Get Technologist object
Declaration
ISS_Technologist Technologist { get; }
Property Value
| Type | Description |
|---|---|
| ISS_Technologist |
Methods
ExportStcx(string)
Export project to STCX format @value 0 - Export successful
Declaration
int ExportStcx(string StcxFile)
Parameters
| Type | Name | Description |
|---|---|---|
| string | StcxFile |
|
Returns
| Type | Description |
|---|---|
| int | Status code: |
Get_FileName()
Get project filename
Declaration
string Get_FileName()
Returns
| Type | Description |
|---|---|
| string |
ImportGeomFile(string, bool)
Declaration
int ImportGeomFile(string GeomFile, bool ShowDlg)
Parameters
| Type | Name | Description |
|---|---|---|
| string | GeomFile | |
| bool | ShowDlg |
Returns
| Type | Description |
|---|---|
| int |
RunPost(string, string)
Run postprocessor for all operations @value 1 - Successfully generated @value lesser 0 - Error code
Declaration
int RunPost(string PostName, string OutputFolder)
Parameters
| Type | Name | Description |
|---|---|---|
| string | PostName |
|
| string | OutputFolder |
|
Returns
| Type | Description |
|---|---|
| int | Status code: |
RunPostNCName(string, string, string)
Run postprocessor with custom NC filename @value 1 - Successfully generated @value lesser 0 - Error code
Declaration
int RunPostNCName(string PostName, string OutputFolder, string NCFileName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | PostName |
|
| string | OutputFolder |
|
| string | NCFileName |
|
Returns
| Type | Description |
|---|---|
| int | Status code: |
SaveProject()
Save project to current file
Declaration
bool SaveProject()
Returns
| Type | Description |
|---|---|
| bool | True if save succeeded |
SaveProjectAs(string)
Save project to specified file
Declaration
bool SaveProjectAs(string aProjectName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | aProjectName |
|
Returns
| Type | Description |
|---|---|
| bool | True if save succeeded |