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

Interface for IGESPlugin modeling functions. More...

import "IGESPlugin.idl";

Public Member Functions

void ExportIGES (in GEOM::GEOM_Object theObject, in string theFileName, in string theVersion)
 Export the given shape into a file with given name in IGES format. More...
 
GEOM::ListOfGO ImportIGES (in string theFileName, in boolean theIsIgnoreUnits)
 Import a shape from the IGES file. More...
 
string ReadValue (in string theFileName, in string theParameterName)
 Read a value of parameter from a file, containing a shape. More...
 
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 IGESPlugin modeling functions.

Member Function Documentation

void ExportIGES ( in GEOM::GEOM_Object  theObject,
in string  theFileName,
in string  theVersion 
)

Export the given shape into a file with given name in IGES format.

Parameters
theObjectShape to be stored in the file.
theFileNameName of the file to store the given shape in.
theVersionVersion of IGES format which defines, whether to write only faces (5.1 IGES format) or shells and solids also (5.3 IGES format).
GEOM::ListOfGO ImportIGES ( in string  theFileName,
in boolean  theIsIgnoreUnits 
)

Import a shape from the IGES file.

Parameters
theFileNameThe file, containing the shape.
theIsIgnoreUnitsIf True, file length units will be ignored (set to 'meter') and result model will be scaled, if its units are not meters. If False (default), file length units will be taken into account.
Returns
List of GEOM_Objects, containing the created shape and propagation groups.
string ReadValue ( in string  theFileName,
in string  theParameterName 
)

Read a value of parameter from a file, containing a shape.

Parameters
theFileNameThe file, containing the shape.
theParameterNameSpecify the parameter. For example, pass "LEN_UNITS" to obtain length units, in which the file is written.
Returns
Value of requested parameter in form of text string.
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.