Material Property location

image
image
image
I cannot seem to find the location property that displays the material of a component.
has the been removed from a later version?

The material property cannot be created from the UI. No idea why :man_shrugging:
You need to create it with a script. The property type is VC_MATERIAL.
Here is an example

from vcScript import *

comp = getComponent()
app = getApplication()

materials = app.Materials #Lists all materials
red_material = app.findMaterial("red")
mat_prop = comp.createProperty(VC_MATERIAL, "ComponentMaterial")
mat_prop.Value = red_material
2 Likes