Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.
Color

Description

Color parameters are used for materials, boundary conditions, and view properties. Color parameters can be accessed by clicking a color box in the Browser or a property grid, to bring up a Color Picker dialog.

In the Color Picker dialog you can choose a color from a preset list, from a color wheel, via a color picker, by moving the sliders, or by using the combo box controls. There is also a hexadecimal field. A color preview displays in the lower right of the dialog box.

Example Usage

Color of a Material. See “Material Management” for more information.

Expression Support

Expressions are not supported.

Recording - see “Recorder Control” for more information

Material_1.Get_IAttribute().SetExColor("176, 24, 19, 218")

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice