VS:DeleteAllComponents: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (Transfer Orso to _c_) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
<def> | <def> | ||
<funcDef lang="vs"> | <funcDef lang="vs"> | ||
FUNCTION DeleteAllComponents( | FUNCTION DeleteAllComponents(obj:HANDLE) : BOOLEAN; | ||
</funcDef> | </funcDef> | ||
<funcDef lang="py"> | <funcDef lang="py"> | ||
def vs.DeleteAllComponents( | def vs.DeleteAllComponents(obj): | ||
return BOOLEAN | return BOOLEAN | ||
</funcDef> | </funcDef> | ||
Line 22: | Line 22: | ||
<lineList ident=1> | <lineList ident=1> | ||
<line> | <line> | ||
obj | |||
HANDLE | HANDLE | ||
The object. Can be a wall, round wall, Wall Style, or the Wall Preferences. | The object. Can be a wall, round wall, Wall Style, or the Wall Preferences. | ||
Line 30: | Line 30: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark></remark> | <remark> | ||
[[User:CBM-c-|_c_]]: 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> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
Line 40: | Line 42: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Availability: from | Availability: from VectorWorks 12.5 | ||
</version> | </version> |
Latest revision as of 06:33, 30 December 2020
.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
_c_: 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