Interface for XAOPlugin modeling functions. More...
import "XAOPlugin.idl";
Public Member Functions | |
boolean | ExportXAO (in GEOM::GEOM_Object shape, in GEOM::ListOfGO groups, in GEOM::ListOfFields fields, in string author, in string fileName, in string shapeFileName) |
boolean | ImportXAO (in string fileName, out GEOM::GEOM_Object shape, out GEOM::ListOfGO subShapes, out GEOM::ListOfGO groups, out GEOM::ListOfFields fields) |
boolean | IsDone () |
To know, if the operation was successfully performed. More... | |
void | SetErrorCode (in string theErrorID) |
Set the operation error code. More... | |
string | GetErrorCode () |
Get the operation error code. More... | |
long | GetStudyID () |
Get ID of study, where the operation is defined. More... | |
void | StartOperation () |
Opens a new transaction. More... | |
void | FinishOperation () |
Closes the previously opened trasaction. More... | |
void | AbortOperation () |
Aborts the previously opened transaction. More... | |
Interface for XAOPlugin modeling functions.
boolean ExportXAO | ( | in GEOM::GEOM_Object | shape, |
in GEOM::ListOfGO | groups, | ||
in GEOM::ListOfFields | fields, | ||
in string | author, | ||
in string | fileName, | ||
in string | shapeFileName | ||
) |
Export a shape to XAO format
shape | The shape to export |
groups | The list of groups to export |
fields | The list of fields to export |
author | The author of the export |
fileName | The name of the file to export |
shapeFileName | The name of the file to export the shape in an external file |
boolean ImportXAO | ( | in string | fileName, |
out GEOM::GEOM_Object | shape, | ||
out GEOM::ListOfGO | subShapes, | ||
out GEOM::ListOfGO | groups, | ||
out GEOM::ListOfFields | fields | ||
) |
Import a shape from XAO format
fileName | The name of the file to import |
shape | The imported shape |
subShapes | The list of imported subShapes |
groups | The list of imported groups |
fields | The list of imported fields |
|
inherited |
To know, if the operation was successfully performed.
|
inherited |
Set the operation error code.
theErrorID | is a string describing the error occured |
|
inherited |
Get the operation error code.
|
inherited |
Get ID of study, where the operation is defined.
|
inherited |
Opens a new transaction.
|
inherited |
Closes the previously opened trasaction.
|
inherited |
Aborts the previously opened transaction.