The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 New Feature Request
 Smart Sort

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Miksteele Posted - May 30 2003 : 3:10:27 PM
I'm not sure if this would be a possibility or not...but what the heck...

I have often wished I had a “Smart Sort” for my ‘queued’ files. I realize I could just zero-prefix our drawing files but…

For purposes of sorting, could Hurricane simply toss a zero or two in front of the file name (Behind the scenes of course.)



7   L A T E S T    R E P L I E S    (Newest First)
Miksteele Posted - December 30 2003 : 2:08:11 PM
Thanks for the update Bill !!! Discussion continued...

http://www.74mph.com/forum/topic.asp?TOPIC_ID=98
Miksteele Posted - June 16 2003 : 11:21:15 PM
We like to keep it simple... Hurricane updates our titleblocks based on our filenames...it works slick for us.

By renaming the files we can always go back a level or two using the .bak or archieved .dwg., (in case someone changes their mind...). I would freak a whole lot of people out with a long, detailed filename. In your situation and I know many others it's a very easy and effective system.

I hope I never see 9 revisions! Our initial "FOR REVIEW" drawing issues are labeled A, B, C, etc... It's not until the "FOR FABRICATION" issue is made that we label numerically. In fact the first "FOR FAB" issue is revision 0, then 1, 2, 3, etc... Our stuff is pretty fast track... so 4 or 5 revisions would be pushing it.

When you say "padding the middle", do you mean,,, so that the rev#'s are in order? So that that 34-rev2.dwg comes before 34-rev3.dwg? (I myself would never have that example since I would never have more than one drawing 34.) Actually 34-rev2 would list before 34-rev3 anyway, it's 34 and 304 that would be backwards...hmmm...but that won't work either. I guess my initial thought was to just throw some zeros in front of each filename. But the quantity of zeros changes. It's probably never that simple

For Example:

000003-rev2
000029-rev0
000033-rev2
000034-rev2
000305-rev1
000310-rev0
003253-rev2
Admin Posted - June 16 2003 : 8:13:45 PM
Haha...

Actually... in your example, you would be in trouble if you went above 9 revisions... !! and you would be back to padding in the middle...

I guess it is different from office to office... the way we've evolved towards something like #YEAR#PROJECT#MACHINE SECTION#STATION NUMBER#DRAWING TYPE#NNN.DWG

Our project codes are always 4 digits (which includes the year)... station number doesn't go higher than 99, and drawing type is a single character to denote if its a cable layout, panel drawing, plan view etc... then up to 999 of whatever in each of those... Since our drawing management (for revisions) consists of making complete records of everything at points in time, and logging changes, we never rename our files like you have with "REV-n" (not that it's better or worse), (I typically deal with packages which have over 1000 drawings that all reference each other) Our filenames always have the same number of characters so it might look like this...

030010125T001.DWG
or broken out as (for easy reading)
03-001-01-25-T-001.DWG

After a while you get used to which character means what, and it becomes a breeze to find things... (Sorry for the longwinded comment, but maybe someone out there can put this to good use!?)


Anyhow... I will have to do some fancy footwork for that to work in all cases... I sure will try!

Thanks again!
Bill
Miksteele Posted - June 16 2003 : 5:09:32 PM
the middle of the filename...

That's interesting...I would have thought the beginning.

Most All of our filenames have both alpha and numeric characters.


for example:

BP4-REVA.DWG
BP6-REVA.DWG
187-REVA.DWG
188-REVA.DWG
1-REVA.DWG
8005-REV1.dwg
8007-rev2.dwg
8008-rev1.dwg
117-rev0.dwg
118-rev0.dwg
119-rev0.dwg
11-rev1.dwg
120-rev0.dwg

Thanks for taking on the challenge
Admin Posted - June 16 2003 : 4:58:09 PM
Hi Miksteele,

I've looked into the sorting that you require... It can be done... I will have to perform some sort of padding on the filenames (in the background), sort, then display the new results.

It's just a little bit more work when the filenames have both alpha and numerics... cause the padding has to be put in the middle of the filename!

I'm up for the challenge!

Bill
Miksteele Posted - June 09 2003 : 08:47:37 AM
Below are 31 drawings numbered 1 to 31. If we used leading zeros for each file name they would be listed numerically.

It it possible for these files to be listed numerically? Your 'COPY' command is able to look at the whole path, or just the file name. I assume that if this is a possiblity, the smarter sort option would see a few zeros before it sees the filename...No

P: est numbers1.dwg
P: est numbers10.dwg
P: est numbers11.dwg
P: est numbers12.dwg
P: est numbers13.dwg
P: est numbers14.dwg
P: est numbers15.dwg
P: est numbers16.dwg
P: est numbers17.dwg
P: est numbers18.dwg
P: est numbers19.dwg
P: est numbers2.dwg
P: est numbers20.dwg
P: est numbers21.dwg
P: est numbers22.dwg
P: est numbers23.dwg
P: est numbers24.dwg
P: est numbers25.dwg
P: est numbers26.dwg
P: est numbers27.dwg
P: est numbers28.dwg
P: est numbers29.dwg
P: est numbers3.dwg
P: est numbers30.dwg
P: est numbers31.dwg
P: est numbers4.dwg
P: est numbers5.dwg
P: est numbers6.dwg
P: est numbers7.dwg
P: est numbers8.dwg
P: est numbers9.dwg
Admin Posted - June 07 2003 : 11:20:51 PM
Hi Miksteele,

Finally got around to looking at your request... (I've been playing with the screen redraw routine for v6.1.0) Normally, one could just download another OCX off the internet and have it taken care of, but I would rather NOT add another component to Hurricane to add stuff to the users Windows directory) I must say, it looks rather simple to get everything to redraw and remain in position relative to other objects in the screen but when it is done manually quite a bit of work... I have been meaning to take care of that for some time now!)

Ok, back to the important stuff...
I've created a bunch of files... they sort like this... I would suspect that what your concern is that 0400 comes before 300??

010.txt
0400.txt
10.txt
100.txt
102.txt
105.txt
300.txt
400.txt

Just want to be clear as to what you need.

Regards,
Bill

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.16 seconds. Snitz Forums 2000