Jump to content
Developer Wiki and Function Reference Links ×

Criteria in Python


JoeBayLD

Recommended Posts

  • 2 weeks later...

Criteria are just strings that follow a certain format. Think of them as a proprietary regular expression.

The format is documented here: http://developer.vectorworks.net/index.php/VS:Search_Criteria

I recommend liberal use of parentheses.

The criteria builder in both the VS editor and worksheets is a bit over-simplified. Having different kinds of criteria result in AND while more than one of the same kind results in OR. You can build up a criteria string much more complex than the dialog allows, but it can be a good start for learning syntax.

HTH,

Josh

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