Renames the specified class.
All objects assigned to the class being renamed are updated.
PROCEDURE RenameClass(
className : STRING;
newName : STRING);def vs.RenameClass(className, newName):
return None| Name | Type | Description |
|---|---|---|
| className | STRING | Existing name of the class. |
| newName | STRING | New name for the class. |
It seems that when you try to rename a class to a class name that already exist, VW will create a new class with name, followed with "-2" or in case that the class name ends with a number, the number + 1.
Availability: from VectorWorks8.5