team Posted November 10, 2008 Share Posted November 10, 2008 Hello, my problem today is: selecting object in VS with the Attribute: "Color by class". I tried it in different ways, but can't get it. Example: EditProperties((FB='by class')); like: EditProperties((FB=260)) What can I do? Thanks m Quote Link to comment
_c_ Posted November 22, 2008 Share Posted November 22, 2008 you can't. Wish-list it. I am with you. orso Quote Link to comment
Miguel Barrera Posted November 23, 2008 Share Posted November 23, 2008 There is no such direct attribute but you can do the same with this script: PROCEDURE SelObjbyColor; {DEBUG} PROCEDURE SelObjbyFill(objHdl: HANDLE); BEGIN IF IsFillColorByClass(objHdl) THEN SetSelect(objHdl); END; BEGIN DSelectAll; ForEachObject(SelObjbyFill,((ALL))); END; Run(SelObjbyColor); I specified all objects but this can be modified to narrow the search. Quote Link to comment
_c_ Posted November 23, 2008 Share Posted November 23, 2008 sorry Miguel, but this is not the same. this is a heavy limit for Custom Modification (to the non-scripter). criteria calls could have this no problem. please also add opacity to the wish list orso Quote Link to comment
Miguel Barrera Posted November 24, 2008 Share Posted November 24, 2008 I specifically said it is not the same! He can use the script to do what the objective is while he waits for his wish to be added if that ever becomes a reality. Isn't it what scripting is about anyways? To do what you want regardless of the method used. In the 15 years or so that scripting was added to MiniCad/Vectorworks, I have encountered so many roadblocks because a function was either broken or not available. I simply experimented with different options to accomplish what I wanted. In the mid 90's, I had a wish to estimate how much material would it take to build a house. Since there was no way to calculate the framing of the house, I set my goal to model it so then I can calculate the material. If I had waited for this to be added, you would probably not have wallframer today. The same goes nowadays, there are road plugins provided but not the means to do a set of construction drawings. Should I wish list it and hope the tools will be added someday or just do my own? So far, I have developed most tools I need to do my job more efficiently and faster without having to wait for something that may never be available. Quote Link to comment
Pat Stanford Posted November 24, 2008 Share Posted November 24, 2008 Just to confirm (since Miguel has only hinted to the fact), Miguel did write the very first Wall Framer and then passed it on to NNA. If you like it, I am sure Miguel would appreciate a kind word of thanks. If you don't like it, them complain to NNA about why they have not improved it to meet your needs. ;-) Pat Quote Link to comment
_c_ Posted November 24, 2008 Share Posted November 24, 2008 talking to me, Pat? I hope not. I'll file a wish. c you should know the signature Quote Link to comment
Pat Stanford Posted November 24, 2008 Share Posted November 24, 2008 Orso, I actaully was not paying that much attention to the thread, so no, it was not directed to you. I just wanted to get a record in the forum that Miguel wrote the original Wall Framer and I think he deserves some credit for that. And just for the record, you deserver credit for all of your work also. The BBEdit/TextWrangler plug-ins are great and I sue them quite often. Pat Quote Link to comment
_c_ Posted November 24, 2008 Share Posted November 24, 2008 The fact is that actually Miguel is right: here we are in the VS forum, so his answer is right and generous. The lack of byclass flags has always been annoying for the lazy scripter [me], whereby not always criteria would be the best approach, so -also without it- not such a big loss. But now, with the Custom Modification it is simply unfair that the byClass flag doesn't exist: only scripting is the workaround. I -really lazy lazy scripter- believe that it should be available. orso Quote Link to comment
team Posted November 25, 2008 Author Share Posted November 25, 2008 WOW, back after a few days and I found this discussion! First: Thanks to all for help, gracias und Dankesch?n. I think this is a Vectorworks/Nemetschek-Problem that there are "great" new functions that are not really elaborated like the custom modification and the new transparency.... (of course its not only Vectorworks) and we need people like Miguel to help them (and us) And Orso, i will "wish-list" it.... Bye, Mika 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.