Sets the material of a component in an object.
FUNCTION SetComponentMaterial(
object : HANDLE;
componentIndex : INTEGER;
material : LONGINT): BOOLEAN;def vs.SetComponentMaterial(object, componentIndex, material):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| object | HANDLE | The object. Can be a wall, round wall, slab, roof face, roof, Wall Style, Slab Style, Roof Style, the Wall Preferences, the Slab Preferences, or the Roof Preferences. |
| componentIndex | INTEGER | The index of the component. |
| material | LONGINT | The material of the component. |
VS Functions: GetComponentMaterial
Availability: from Vectorworks 2021