By default a model node in the Feature Panel cannot be replaced for another model. To replace one model for another the Replace Model entity can be added to any node.
The Replace Model entity adds extra functionality to the node. The Replace Model Entity adds two properties:
With a model node selected and the Replace Model entity added to that node, the following will be displayed in the Information Panel:
Browse for and select a DriveWorks 3D file to replace the current model node.
The current model in the node will be replaced with the selected DriveWorks 3D file. If the node is an assembly then the whole assembly will be replaced.
Choose how textures get mapped to the replacement model with Texture Mapping Mode.
This uses the default texture coordinates that were saved with the model.
This wraps the texture to the model as if a cube was surrounding the model and the texture was projected onto the model.
This wraps the texture to the model as if a cylinder was surrounding the model and the texture was projected onto the model.
This is an uncapped texture mapping mode. This means that the top and bottom of the model could end up having no texture. This results in black areas on the model. If this is the case you will need to select another mapping mode.
This wraps the texture to the model as if a sphere was surrounding the model and the texture was projected onto the model.
For geometries that have a relatively low triangle count, normal smoothing will blend areas that should appear as a smooth surface, without adversely affecting performance.
Enabling or disabling normal smoothing on geometries will immediately update the geometry preview and any instances of the geometry in the scene.
Threshold values are between 0 and 180.
The threshold in degrees to smooth normals between adjacent faces on the geometry.
Adjusting the slider for normal smoothing threshold will immediately update the geometry.
For very large models we recommend typing into the number entry box.
With a model node selected and the Replace Model entity added to that node, the following will be displayed in the Parameter Panel:
A dynamic rule can be built for the Replacement File Path. This must be a full path or relative path to the DriveWorks 3D File to replace into the scene.
A dynamic rule can be built for the Texture Mapping Mode. This rule should evaluate to one of the following:
If the rule evaluates to anything other than these values then Source will be used.
True to enable or False to disable.
Threshold values are between 0 and 180.
We do not recommend changing the normal smoothing threshold via rules on a live project, this can be a performance intensive and slow process especially on large models.