VvierA Posted April 19, 2016 Share Posted April 19, 2016 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 Quote Link to comment
Hippocode Posted April 19, 2016 Share Posted April 19, 2016 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. Quote Link to comment
VvierA Posted April 19, 2016 Author Share Posted April 19, 2016 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. Quote Link to comment
VvierA Posted April 19, 2016 Author Share Posted April 19, 2016 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. Quote Link to comment
VvierA Posted April 19, 2016 Author Share Posted April 19, 2016 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? Quote Link to comment
VvierA Posted April 19, 2016 Author Share Posted April 19, 2016 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... 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.