Jump to content
Developer Wiki and Function Reference Links ×

Symbol by Criteria


Pumpkin

Recommended Posts

Hello Vectorworkist,

 

First post around here !

 

I am trying to obtain a list of Symbols according to criteria present in their Records Fields.  Knowing that the Symbols are not inserted in the drawing ; but they are obviously present in the Resource Manager.

 

We work with products to which accessories can be added.
The main idea is to be able to display a Popup List in the OIP of our products including compatible accessories. The Symbol accessories would contain Record Fields to verify their compatibility with the products.

 

Currently, we cannot find a node (or several) allowing to retrieve the Symbols present in the Resource Manager and, then filter them.

 

If you had the solution (or a starting point) !

Link to comment

Criteria (at least in worksheets) only function on objects that are in the drawing. I don't think you are going to be able to do what you want the way you are trying to do it.

 

In Vectorscript there are functions to get a list of Resources in a file. You could then filter that list based on the field values to get the list you want.

 

You may have to look into writing a custom Marionette node to do what you are looking for.

Link to comment

Hello @Pumpkin

welcome to the Vectorworks forum!

 

If you want to get to the interesting point of your requirement, you can start with this:

This already does the first part for you: lookup and list all symbols that are in a specific folder showing up in a nice little dialog.

Now you just have to figure out the second part: filtering the list of symbols using the criteria specified by you.

 

Good luck!

 

Regards,

Antonio

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