Interface for XAOPlugin modeling functions.
import "XAOPlugin.idl";
|
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...
|
|
Export a shape to XAO format
- Parameters
-
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 |
- Returns
- boolean indicating if export was successful.
Import a shape from XAO format
- Parameters
-
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 |
- Returns
- boolean indicating if import was successful.
The documentation for this interface was generated from the following file: