Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 958 Bytes

File metadata and controls

33 lines (26 loc) · 958 Bytes

SetComponentFunction

Description

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

Parameters

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

See Also

VS Functions: GetComponentFunction

Version

Availability: from Vectorworks 2018

Category