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) |
| |
| SALOMEDS::TMPFile | ExportXAOMem (in GEOM::GEOM_Object shape, in GEOM::ListOfGO groups, in GEOM::ListOfFields fields, in string author) |
| |
| boolean | ImportXAO (in string fileName, out GEOM::GEOM_Object shape, out GEOM::ListOfGO subShapes, out GEOM::ListOfGO groups, out GEOM::ListOfFields fields) |
| |
| boolean | ImportXAOMem (in SALOMEDS::TMPFile theBuff, 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...
|
| |
| void | StartOperation () |
| | Opens a new transaction. More...
|
| |
| void | FinishOperation () |
| | Closes the previously opened transaction. More...
|
| |
| void | AbortOperation () |
| | Aborts the previously opened transaction. More...
|
| |
◆ ExportXAO()
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.
◆ ExportXAOMem()
Export a shape to XAO format in a byte array
- 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 |
- Returns
- Byte array with exported data.
◆ ImportXAO()
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.
◆ ImportXAOMem()
Import a shape from XAO format byte array
- Parameters
-
| theBuff | The byte array with data in XAO format |
| 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: