Jump to content

Printing classes and layers


Recommended Posts

  • Vectorworks, Inc Employee

LEAFS, copy and paste the following script into a TEXT file on your machine. Put it in a safe place, then use the 'Run VectorScript' command to access it whenever you need this:

{ BEGIN COPY HERE }

Procedure List_Structure;

VAR

temp_i :INTEGER;

FileN :STRING;

Lyr_h :HANDLE;

BEGIN

PutFile('Locate the Output file','Layers&ClassesList',FileN);

WriteLn('CLASS NAME LIST:');

FOR temp_i := 1 TO ClassNum DO WriteLn(chr(9),classlist(temp_i));

Lyr_h := fLayer;

WriteLn('LAYER NAME LIST:');

WHILE Lyr_h <> NIL DO

BEGIN

WriteLn(chr(9),GetLName(Lyr_h));

Lyr_h := nextlayer(Lyr_h);

END;

Close(fileN);

END;

RUN(List_Structure);

{ FINISH COPY HERE }

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...