Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOM::ISTEPOperations Interface Reference

Interface for STEPPlugin modeling functions.

import "STEPPlugin.idl";

Inheritance diagram for GEOM::ISTEPOperations:
Inheritance graph

Public Member Functions

void ExportSTEP (in GEOM::GEOM_Object theObject, in string theFileName, in GEOM::length_unit theUnit)
 Export the given shape into a file with given name in STEP format. More...
 
GEOM::ListOfGO ImportSTEP (in string theFileName, in boolean theIsIgnoreUnits, in boolean IsCreateAssemblies)
 Import a shape from the STEP file. More...
 
string ReadValue (in string theFileName, in string theParameterName)
 Read a value of parameter from a file, containing a shape. More...
 
- 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...
 
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...
 

Member Function Documentation

void GEOM::ISTEPOperations::ExportSTEP ( in GEOM::GEOM_Object  theObject,
in string  theFileName,
in GEOM::length_unit  theUnit 
)
Parameters
theObjectShape to be stored in the file.
theFileNameName of the file to store the given shape in.
theUnitthe length unit.
GEOM::ListOfGO GEOM::ISTEPOperations::ImportSTEP ( in string  theFileName,
in boolean  theIsIgnoreUnits,
in boolean  IsCreateAssemblies 
)
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.
IsCreateAssembliesIf True, for each assembly compound is created in the result. If False Compounds that contain a single shape are eliminated from the result.
Returns
List of GEOM_Objects, containing the created shape and propagation groups.
string GEOM::ISTEPOperations::ReadValue ( in string  theFileName,
in string  theParameterName 
)
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.

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