VS:DeleteAllComponents: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (shorten "object" (reserved word))
(DeleteAllComponents can't be used on slab and roof styles)
Line 30: Line 30:


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<remark></remark>
<remark>
[[User:Orso.b.schmid| Orso]]: (2016.02.03):  As of VW 2016 it doesn't work on other slab types such as Slab styles, Roof Styles. Use [[VS:DeleteComponent]] looping by index.
</remark>


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------

Revision as of 06:16, 3 February 2016

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Deletes all components in an object.

FUNCTION DeleteAllComponents(
obj :HANDLE) : BOOLEAN;
def vs.DeleteAllComponents(obj):
    return BOOLEAN

Parameters

obj HANDLE The object. Can be a wall, round wall, Wall Style, or the Wall Preferences.

Remarks

Orso: (2016.02.03): As of VW 2016 it doesn't work on other slab types such as Slab styles, Roof Styles. Use VS:DeleteComponent looping by index.

Version

Availability: from VectorWorks 12.5