Jump to content
Developer Wiki and Function Reference Links ×

Get record info from symbols in viewport


Hobbsies

Recommended Posts

Hi,

 

I asked this question a day or two before the new forums went live and my previous post has vanished into the nether.

 

I'm trying to make a work sheet that when I run a script will import certain information from record labels attached to symbols contained within a viewport on a sheet layer. I want to make a list of lighting fixtures that exist in a view port, basically. In the attached picture, the red box is what I'm trying to do automatically. Currently, I manually enter all of that information which is time consuming and error prone when things change often.

 

I'm also trying to learn vectorscript and python, so I'm hoping someone can just point me in the right direction so I can learn how to do this.

 

Thanks!

instrument list example.jpg

Link to comment

There are a couple of easy ways of doing this that require no scripting:

 

1.  Check out the instrument summary tool.  It can be filtered by position.

 

2.  I usually make a little worksheet with one of the criteria being the position name.  Then I replace that name in the criteria with a reference to a cell.  Now, whatever position name you type in that cell will automatically be used in the criteria.  (You don't have to do this, you could also do it manually).  You will need to create a duplicate of the worksheet and change the position name in the cell or (in the criteria) for each position.

 

I'll attach an example.  Enter the name of the position into the top left cell and it counts all the instruments and accessories on that position.

 

hth

 

 

mk

 

Position_Information.vwx

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