Jump to content
Developer Wiki and Function Reference Links ×

ClassList Index for None & Dimension


PeterT

Recommended Posts

Are the Index Numbers for the Dimension class and the None class fixed in the document class list?

It seems the Dimension class index is 2, and the None class index is 1. But does this always hold true no matter how many classes exist, and even if the None or Dimension class names have been changed?

They must be fixed since VectorWorks knows which class is the None class or Dimension class even if it is renamed.

If I want to Identify the None class in a VectorScript some other way than its name can I assume it is always class list index number 1?

Thanks for any help,

Peter

Link to comment

these two classes can't be deleted only renamed, and will always be the first two classes created, being the only two classes in the the VW base file.

So even if the user has renamed these classes.

their index numbers will still be 1 & 2, the the functions will still be the same mostly.

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...