To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI demonstrates how to use the Set Mesh Parameters Invoke Node to modify the color of an imported STL file.
Description
With 3D primitives, you can set the color as you create the object, so may not be obvious that this method is required for imported model files.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
To specify an alpha channel value for the color, you'll also need to specify the scene blending mode (as below).