MattG Posted August 15, 2008 Share Posted August 15, 2008 I find myself working in a semi unique field. I am starting to create my own sets of standards for myself and coworkers in the office. I am numbering my classes with a explination following. The more important the lower the number. I don't really use multiple layers for a number of reasons and that is another story. I still want to achieve a "stacking order" With my mentioning that the most important stuff is on the top of my class list is it possible via vectorscript to create a script I can run that will start at the bottom of my list grab a class and all objects on it bring it to the front than repeat with the class above and so forth until it reaches the top of the list making my top class on top? This may seem silly, but if there was one thing I could click before exporting that did this it would be amazing and it is beyond me on how to execute this. Matt Quote Link to comment
Pat Stanford Posted August 16, 2008 Share Posted August 16, 2008 Yes, you could write a script to do this. If you don't get an answer in a couple of days, I will see what I can do over the weekend. Pat Quote Link to comment
Pat Stanford Posted August 16, 2008 Share Posted August 16, 2008 How are you numbering your classes? I recommend using leading zeros to pad everything to the same length. The sort order for the class pane of the navigation window is alphabetic, not numeric. That means that things sort 1 10 12 16 2 21 27 30 If you pad the numbers you get 001 002 010 012 016 021 027 030 I am going to start on a routine to sort them using the same sort order as is shown in the class pane when you sort it by class name (click on the class name column header). Pat Quote Link to comment
Pat Stanford Posted August 18, 2008 Share Posted August 18, 2008 Check out the script I posted in this thread: http://techboard.vectorworks.net/ubbthreads/ubbthreads.php?ubb=showthreaded&Number=108358#Post108358 I think it does what you want. Pat Quote Link to comment
MattG Posted August 18, 2008 Author Share Posted August 18, 2008 Yes I do pad my classes in 01, 02, 03, and so forth, however I am not going into the hundreds, whew. I am going to try that script, lets see what happens! Thanks, Matt Quote Link to comment
MattG Posted August 18, 2008 Author Share Posted August 18, 2008 Okay That is super cool and has just made my life much easier. Thanks a ton! Matt 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.