Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 735 Bytes

File metadata and controls

42 lines (31 loc) · 735 Bytes

NameClass

Description

Creates a new class in a VectorWorks document, which then become the active class. If the specified class already exists, then it will become the active class of the document.

Note: Class names cannot exceed 63 characters.

PROCEDURE NameClass(className : STRING);
def vs.NameClass(className):
    return None

Parameters

Name Type Description
className STRING Name of class.

Examples

==== VectorScript ====

NameClass('Revisions');
Rect(4,4,6,6);

{Create a class 'Revisions' in the document}
{The rectangle is then assigned this class }

==== Python ====

Version

Availability: from All Versions

Category

  • Classes