Sets the function of a component in an object.
FUNCTION SetComponentFunction(
object : HANDLE;
componentIndex : INTEGER;
func : INTEGER): BOOLEAN;def vs.SetComponentFunction(object, componentIndex, func):
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. |
| func | INTEGER | The function of the component. 0 - Other 1 - Load-Bearing 2 - Insulation 3 - Inner Finish 4 - Outer Finish 5 - Air Gap |
VS Functions: GetComponentFunction
Availability: from Vectorworks 2018