Pumpkin Posted February 2, 2021 Share Posted February 2, 2021 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) ! Quote Link to comment
Pat Stanford Posted February 2, 2021 Share Posted February 2, 2021 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. Quote Link to comment
Peter Vandewalle Posted February 2, 2021 Share Posted February 2, 2021 As Pat said, you’ll have to create a custom node to achieve that, but it should be possible. Quote Link to comment
Pumpkin Posted February 3, 2021 Author Share Posted February 3, 2021 Thanks for your feedback. This next step will be a deep one ! Quote Link to comment
Antonio Landsberger Posted February 3, 2021 Share Posted February 3, 2021 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 Quote Link to comment
Recommended Posts
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.