Hide menu
Loading...
Searching...
No Matches
cadex.Eyeshot_EntityFactory Class Reference

Creates EyeShot document data from ModelData_Model. More...

Public Member Functions

 Eyeshot_EntityFactory ()
 Constructor.
 
BlockReference Create (ModelData_Model theModel, Eyeshot_EntityMapping theMapping=null)
 Creates EyeShot document content from ModelData_Model.
 
BlockReference Create (ModelData_Model theModel, DesignDocument theDoc, Eyeshot_EntityMapping theMapping=null)
 Creates EyeShot document content from ModelData_Model.
 
void AddTo (DesignDocument theDoc)
 Store into given EyeShot document created content objects.
 
void SetParameters (Eyeshot_EntityFactoryParameters theParam)
 Sets parameters.
 
Eyeshot_EntityFactoryParameters Parameters ()
 Returns parameters.
 
void SetProgressStatus (Base_ProgressStatus theStatus)
 Sets progress status.
 
Base_ProgressStatus ProgressStatus ()
 Returns progress status.
 
void SetProgressStatusObserver (Base_ProgressStatus.Observer theObserver)
 Sets progress status observer.
 

Detailed Description

Creates EyeShot document data from ModelData_Model.

Provides mapping from CAD Exchanger into EyeShot. Translates product structure, names, mesh geometry, and colors to the corresponding entities.

Examples
Eyeshot/conversion/MainForm.cs.

Constructor & Destructor Documentation

◆ Eyeshot_EntityFactory()

cadex.Eyeshot_EntityFactory.Eyeshot_EntityFactory ( )
inline

Constructor.

Exceptions
LicenseManager_LicenseErrorif no Eyeshot add-on license was activated.

Member Function Documentation

◆ AddTo()

void cadex.Eyeshot_EntityFactory.AddTo ( DesignDocument  theDoc)
inline

Store into given EyeShot document created content objects.

Stores the created blocks, entities, materials into document

◆ Create() [1/2]

BlockReference cadex.Eyeshot_EntityFactory.Create ( ModelData_Model  theModel,
DesignDocument  theDoc,
Eyeshot_EntityMapping  theMapping = null 
)
inline

Creates EyeShot document content from ModelData_Model.

All the given model objects will be converted to children of a root block. If the theDoc is specified then created blocks, entities, materials stored into document Returns root block entity.

◆ Create() [2/2]

BlockReference cadex.Eyeshot_EntityFactory.Create ( ModelData_Model  theModel,
Eyeshot_EntityMapping  theMapping = null 
)
inline

Creates EyeShot document content from ModelData_Model.

All the given model objects will be converted to children of a root block. Returns root block entity.