Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
IXAOOperations Interface Reference

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...
 

Detailed Description

Interface for XAOPlugin modeling functions.

Member Function Documentation

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

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.
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

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.
boolean IsDone ( )
inherited

To know, if the operation was successfully performed.

void SetErrorCode ( in string  theErrorID)
inherited

Set the operation error code.

Parameters
theErrorIDis a string describing the error occured
Note
This method is supposed to be used only by interfaces inheriting from IOperations.
string GetErrorCode ( )
inherited

Get the operation error code.

long GetStudyID ( )
inherited

Get ID of study, where the operation is defined.

void StartOperation ( )
inherited

Opens a new transaction.

void FinishOperation ( )
inherited

Closes the previously opened trasaction.

void AbortOperation ( )
inherited

Aborts the previously opened transaction.