Hide menu
Loading...
Searching...
No Matches
cadex::ModelData::ModelReaderParameters Class Reference

Defines parameters of the ModelReader. More...

#include <cadex/ModelData/ModelReaderParameters.hxx>

Inheritance diagram for cadex::ModelData::ModelReaderParameters:
cadex::BaseObject

Public Member Functions

 ModelReaderParameters ()
 Constructor.
 
bool ReadPMI () const
 Specifies whether Product and Manufacturing Information (PMI) should be read from the file.
 
void SetReadPMI (bool theReadPMI)
 Specifies whether Product and Manufacturing Information (PMI) should be read from the file.
 
bool ReadDrawing () const
 Specifies whether Product and Manufacturing Information (PMI) should be read from the file.
 
void SetReadDrawing (bool theReadDrawing)
 Specifies whether a drawing should be read from the file.
 
- Public Member Functions inherited from cadex::BaseObject
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

- Public Types inherited from cadex::BaseObject
typedef std::shared_ptr< internal::BaseObjectImpl > ImplType
 
- Protected Member Functions inherited from cadex::BaseObject
 BaseObject (const ImplType &theImpl)
 

Detailed Description

Defines parameters of the ModelReader.

Parameters can be set using ModelReader::SetParameters().

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Member Function Documentation

◆ ReadDrawing()

bool cadex::ModelData::ModelReaderParameters::ReadDrawing ( ) const

Specifies whether Product and Manufacturing Information (PMI) should be read from the file.

See also
SetReadDrawing().

◆ ReadPMI()

bool cadex::ModelData::ModelReaderParameters::ReadPMI ( ) const

Specifies whether Product and Manufacturing Information (PMI) should be read from the file.

See SetReadPMI().

◆ SetReadDrawing()

void cadex::ModelData::ModelReaderParameters::SetReadDrawing ( bool theReadDrawing)

Specifies whether a drawing should be read from the file.

By default is false.

See also
ReadDrawing().
Warning
This setting is part of Drawings add-on, which is licensed separetely from the base Manufacturing Toolkit.
If you do not have it, the passed value will not cause any effect and false will be assigned.

◆ SetReadPMI()

void cadex::ModelData::ModelReaderParameters::SetReadPMI ( bool theReadPMI)

Specifies whether Product and Manufacturing Information (PMI) should be read from the file.

By default is false.

Warning
This setting is part of PMI add-on, which is licensed separetely from the base Manufacturing Toolkit.
If you do not have it, the passed value will not cause any effect and false will be assigned.
Examples
exploring/pmi/main.cxx.