Jump to content
Sign in to follow this  
VvierA

Any idea? - I'd like to select all objects,listed in a worksheet list?

Recommended Posts

Hi there,

maybe someone has an idea..?

I've created a worksheet list using some search criteria.

Now I'd like to select all the objects at the same time, using a Vectorscript.

I know that I can click an a worksheet list entry and chose to activate it in the drawing, but I'd need some script that activates or selects all the objects at the same time...

Any idea?

Thanks for help,

VvierA

Share this post


Link to post

You should be able to find a lot of ForEachObject examples in this forum. If you use your worksheet criteria and take care of the selection of each given handle you end up what you are looking for.

Share this post


Link to post

Yeah, thank you for the quick response.

But if I use the worksheet criteria in my script, the script only works with this certain worksheet. Or is there a way to read out the criteria of a list?

Maybe something like this?

I click on the first row of the list and call the Script with the contextual menu (right mouse button). The script 'reads out' the criteria of the list and selects each item.

Share this post


Link to post

New info:

I just found that I can select ALL the objects at the same time by right clicking the row of a list (the first row, that contains the search criteria).

Now I have another problem:

Each of the listet items is linked to a database record.

I'd like to read out the record for each item and write the record entry to the parameter of the item.

Share this post


Link to post

Simply in other words:

I'm looking for a vectorscript function, that allows me to read out a record field and write it to a the parameters of a 2d Pathobject?

Share this post


Link to post

Sometimes you just need to talk about a problem to understand and to solve it.

I used GetRField and SetRField to read record data and write it to a parameter.

But now there is another problem. Please see my new topic...

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...