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... | |
Interface for IGESPlugin modeling 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.
theObject | Shape to be stored in the file. |
theFileName | Name of the file to store the given shape in. |
theVersion | Version 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.
theFileName | The file, containing the shape. |
theIsIgnoreUnits | If 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. |
string ReadValue | ( | in string | theFileName, |
in string | theParameterName | ||
) |
Read a value of parameter from a file, containing a shape.
theFileName | The file, containing the shape. |
theParameterName | Specify the parameter. For example, pass "LEN_UNITS" to obtain length units, in which the file is written. |
|
inherited |
To know, if the operation was successfully performed.
|
inherited |
Set the operation error code.
theErrorID | is a string describing the error occured |
|
inherited |
Get the operation error code.
|
inherited |
Get ID of study, where the operation is defined.
|
inherited |
Opens a new transaction.
|
inherited |
Closes the previously opened trasaction.
|
inherited |
Aborts the previously opened transaction.