Version: 9.12.0
GEOM::IXAOOperations Interface Reference

Interface for XAOPlugin modeling functions.

import"XAOPlugin.idl";

Inheritance diagram for GEOM::IXAOOperations:
Inheritance graph

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)
 
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)
 
- Public Member Functions inherited from GEOM::GEOM_IOperations
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...
 

Member Function Documentation

◆ ExportXAO()

boolean GEOM::IXAOOperations::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

Parameters
shapeThe shape to export
groupsThe list of groups to export
fieldsThe list of fields to export
authorThe author of the export
fileNameThe name of the file to export
shapeFileNameThe name of the file to export the shape in an external file
Returns
boolean indicating if export was successful.

◆ ExportXAOMem()

SALOMEDS::TMPFile GEOM::IXAOOperations::ExportXAOMem ( in GEOM::GEOM_Object  shape,
in GEOM::ListOfGO  groups,
in GEOM::ListOfFields  fields,
in string  author 
)

Export a shape to XAO format in a byte array

Parameters
shapeThe shape to export
groupsThe list of groups to export
fieldsThe list of fields to export
authorThe author of the export
Returns
Byte array with exported data.

◆ ImportXAO()

boolean GEOM::IXAOOperations::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

Parameters
fileNameThe name of the file to import
shapeThe imported shape
subShapesThe list of imported subShapes
groupsThe list of imported groups
fieldsThe list of imported fields
Returns
boolean indicating if import was successful.

◆ ImportXAOMem()

boolean GEOM::IXAOOperations::ImportXAOMem ( in SALOMEDS::TMPFile  theBuff,
out GEOM::GEOM_Object  shape,
out GEOM::ListOfGO  subShapes,
out GEOM::ListOfGO  groups,
out GEOM::ListOfFields  fields 
)

Import a shape from XAO format byte array

Parameters
theBuffThe byte array with data in XAO format
shapeThe imported shape
subShapesThe list of imported subShapes
groupsThe list of imported groups
fieldsThe list of imported fields
Returns
boolean indicating if import was successful.

The documentation for this interface was generated from the following file: