The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 New Feature Request
 Reverse Sort via META COMMAND
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - January 09 2004 :  08:47:28 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Our new large format printer stacks our drawings face up. Of course Hurricane's REVERSE SORT saves the day!

I realize I could automatically "descend" my Smart-Sorted Queue...however I prefer to work with a "ascending" queue for several other tasks. I am thinking that possibly... most users who use the REVERSE SORT feature, use it to reverse there queues for plotting purposes...??? Hence...if there was a REVERSE SORT META COMMAND I could add it to all my plot scripts

Is the REVERSE SORT a META COMMANDable feature


Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com

Admin
Administrator



652 Posts

Posted - January 10 2004 :  05:57:50 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Mi Miksteele,

No problem... Attached you will find the new EXE with 5 more meta commands (accessible through the dropdown in the Script Editor)

They are pretty well self explanatory.

SORT.ASCENDING
SORT.DESCENDING
SMARTSORT.ASCENDING
SMARTSORT.DESCENDING
SORT.AUTO - Just sorts to whatever you have set in the Options->Gui->Autosort settings (whether AutoSort is enabled or not).

I also noticed an omission, and corrected it.
"TAGS.TEMPLATE=" was missing from the Meta Commands dropdown in the script editor.


Thanks again for your valued input!

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - January 10 2004 :  10:16:20 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Wow ! You surprised me with the "TAGS.TEMPLATE=", that can come in handy. I have been using the "PROJECT TAGS" to eliminate the task of loading the correct Static Tag Template. But...now I have some options. My project tags could now handle just the project specific stuff (as intended)...and I can implement a workable set of Static Tags and load them automatically....Slick!


The Meta Sorting is equally as Slick! I've played with this a bit, maybe I am missing something....try this...

1)...Load your favorite Plot Script
2)...Insert the following line in your plot script
;SMARTSORT.DESCENDING
2)...Load up your queue with a Ascending-Smart-Sorted filelist
3)...Click on CREATE BATCH SCRIPT and you will notice the queue remains in ascending order and the script is created in ascending order

Now... with your Live Meta Enabled...a quick work around is to manipulate your script with a keystroke on a ; remarked line

I appears that the script is scanned upon loading and not at the time of script creation. I'm sure there is a reason for this ???

Another work around would be to load the script after queuing up. I know I will probably naturally encounter both scenarios. It all depends how many filelists I run separately on the same script...

This is very workable as is. Only one keystroke in the script window can be quicker than clicking through a context menu.

Thanks Bill!

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - January 10 2004 :  12:41:58 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Miksteele,

Ooops... I slipped up

Thanks for noticing... here is the fix...

Regards,
Bill

Download Attachment: hurricane6.2.9.zip
154.66 KB

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - January 10 2004 :  1:05:25 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Hi Bill...

Okay...Help me out. What changes were made between 6.2.8 and 6.2.9?

I don't see a difference.

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - January 11 2004 :  06:48:53 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
With SORT.???? commands in User Script:

6.2.8 - Didn't sort Queue automatically when a FileList is loaded

6.2.9 - Sorts when when you load-up the Queue through the FileList.

However, there is a conflict that I'm trying to work out, as "Enable META Commands" by definition were triggered when a script is LOADED (or clicked on), and LIVE META was triggered as you type the commands.

When the user loads a filelist using the "FileLists", then they really haven't selected a script, nor typed anything. By triggering the META commands when the files are loaded from the FileLists, when you have the new AutoSort feature enabled will cause the list to be sorted twice. First when the FileList is loaded and AutoSORT does it's thing, THEN again to whatever META sort was instructed. (This can sort them twice, in two different ways...)

The same thing happens when you click the "Add" or "Add All" buttons.

There is another problem with having the sorting update with LIVE META enabled, is that the list gets resorted each and every time the script is changed (i.e. after EACH keystroke). This is quite ugly. I think I will disable the LIVE META with the sorting commands altogether, it is not practical to sort after every keystroke, but only after a major event like a FileList load or script load (or file insertion).


Here's an alteration that doesn't resort the Queue after each keypress, but resorts (with the META commands taking precedence over the AutoSort in Options.

Let me know what you think... but it seems totally impractical to have META commands to sort the queue that work with the LIVE META option (my fault in the first place for trying! ). So below is the result...

Regards,
Bill

Download Attachment: hurricane6.2.10.zip
154.88 KB

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - January 12 2004 :  1:00:22 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
My apologies...

Is the purpose of any META command to temporary modify an otherwise standard setting? (or, Could the purpose of a META command....)

I think 6.2.8 and 6.2.9 did a fine job. However, I can see how a constant resort on the queue via LIVE META could cause havoc...but I wasn't experiencing a constant flip flop...so I am not sure...


All I was thinking was to process a plot script from the queue bottom to top, hence REVERSE META. I didn't see a REVERSE META, just descending and ascending metas. Could that be the issue

I see 6.2.10 only reverses the queue upon script load and not during Live META, but the other meta's still react to live meta. If this works for you...it works for me...

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - January 12 2004 :  3:00:36 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Ah!

No aplogies required! I'm off on another planet overcomplicating things!

I see... you wanted to run the script from bottom to top without having to resort. Although I can add that feature, for now, reversing it will accomplish the same thing (using the META sort commands).

Good idea though! It's now just a matter of whether there should be a "reverse" checkbox AND a meta command to control sorting. I don't think BOTH would help the other (a user could have sorted one way with META then also have the META for the checkbox selected), double-reverse, which ends up plotting the way it was originally shown! hahah... ah well...

I think, for now, I'll leave things alone if you are satisfied with the results!?

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - January 12 2004 :  3:19:31 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
I think one could make ALL of the METAS defeat themselves if they wanted to

Your comments on a check-box indicating REVERSE gets me thinking But I'm thinking Sort Status in general, but not a check-box...I'll tuck it away for now...

Maybe some of the other users will incorporate the sorting METAs into there plot scripts. This might generate some helpful responses in this forum.

Thanks Bill!

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - January 16 2004 :  3:31:27 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
This is becoming VERY useful!

Just a few tweaks to go...I get an "ERROR 9 - Subscript out of range" when the queue is empty and a Sort META is within the script.


Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - January 16 2004 :  6:52:34 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Miksteele,

I've added a few error handlers... can you see if your errors appear any more?

If you try to load a blank FileList, nothing should happen, and if you click on a script that has a sort META with 0 files in the Queue, you shouldn't get an error either.

Hope this helps!
Bill

Download Attachment: hurricane6.2.11.zip
155.54 KB

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - January 17 2004 :  09:27:12 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Ahh Haa! Very Good!

It's amazing how a little META can speed things up!

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - January 17 2004 :  11:15:06 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Great!

I'll put that up as the latest FULL build... I think that includes quite a few enhancements.

Thanks again for your feedback!

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.41 seconds. Snitz Forums 2000