CAD Exchanger SDK
cadex::STEP_Writer Class Reference

Writes STEP files. More...

Inheritance diagram for cadex::STEP_Writer:
cadex::Base_Writer cadex::STEPXDE_Writer

Public Member Functions

 STEP_Writer ()
 
const STEP_WriterParametersParameters () const
 Returns parameters.
 
STEP_WriterParametersParameters ()
 Sets parameters.
 
- Public Member Functions inherited from cadex::Base_Writer
 ~Base_Writer ()
 Destructor.
 
bool Transfer (const ModelData_Model &theModel)
 Converts source model into memory representation of the target file.
 
bool Transfer (const TopoDS_Shape &theShape)
 Converts source shape into memory representation of the target file. More...
 
bool WriteFile (const Base_UTF16String &theFileName)
 Writes contents to a target file. More...
 
bool WriteFile (std::ostream &theStream)
 Writes contents to a target stream. More...
 
Base_ProgressStatusProgressStatus () const
 Returns a progress status.
 
internal::Base_Writer_Private * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Protected Member Functions

 STEP_Writer (internal::Base_Writer_Private *theImpl)
 Constructor.
 
- Protected Member Functions inherited from cadex::Base_Writer
 Base_Writer (internal::Base_Writer_Private *theImpl)
 Constructor.
 

Detailed Description

Writes STEP files.

Refer to STEP Converter.

WriteFile() overload accepting an ostream can only be used to write monolithic files. To enforce creating monolithic files the STEP_WriterParameters::ExternalReferencesMode() parameter must be set to STEP_WriterParameters::Monolithic prior to invoking the Transfer() method.

Constructor & Destructor Documentation

◆ STEP_Writer()

cadex::STEP_Writer::STEP_Writer ( )

Constructor.

Exceptions
LicenseManager_LicenseErrorif no STEP license was activated.