Reads STEP and native format. More...
#include <cadex/ModelData/ModelReader.hxx>
Public Member Functions | |
ModelReader () | |
Constructor. | |
bool | Read (const UTF16String &theFilePath, ModelData::Model &theModel) |
Reads the file at the specified path into the specified model. | |
![]() | |
size_t | Id () const |
Return unique identifier of public object. | |
internal::BaseObjectImpl * | Impl () const |
bool | IsNull () const |
operator bool () const | |
template<typename T > | |
bool | IsOfType () const |
template<typename T > | |
T * | Impl () const |
Reserved for internal use. | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
![]() | |
BaseObject (const ImplType &theImpl) | |
Reads STEP and native format.
bool cadex::ModelData::ModelReader::Read | ( | const UTF16String & | theFilePath, |
ModelData::Model & | theModel ) |
Reads the file at the specified path into the specified model.
Returns true if the reading process succeeded, false otherwise.
BaseError_MissingFile | if the file can't be found at the specified path. |
BaseError_MissingModule | if no reader for the specified file could be found (either because the format is not supported by Manufacturing Toolkit, or because a related module couldn't be loaded). |
LicenseManager_LicenseError | if the corresponding reader was found but there was no active license for it. |