Difference between revisions of "VS:DelClass"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
 
 
(One intermediate revision by one user not shown)
Line 34: Line 34:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<sample>
 
<sample>
 +
==== VectorScript ====
 
<code lang="pas">
 
<code lang="pas">
 
DelClass('Future Construction');
 
DelClass('Future Construction');
 +
</code>
 +
==== Python ====
 +
<code lang="py">
 +
vs.DelClass('Future Construction')
 
</code>
 
</code>
 
</sample>
 
</sample>

Latest revision as of 12:12, 19 June 2014

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


Description

Deletes the specified class from the active document. If there are objects in the class to be deleted, they are reassigned to the None class.
PROCEDURE DelClass(
className  :STRING);
def vs.DelClass(className):
    return None

Parameters

className STRING Name of class to delete.

Example

VectorScript

DelClass('Future Construction');

Python

vs.DelClass('Future Construction')

Version

Availability: from All Versions
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox