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
 Date Tag Variation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - July 10 2003 :  09:03:28 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
We date our "deliverable" files.

A variation to $MM/DD/YY$ such as $MM-DD-YY$ would allow me to use that tag to create dated filenames.

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

Admin
Administrator



652 Posts

Posted - July 10 2003 :  10:23:28 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
No problem...

I have added a few more Tags:

$YYYY$ - Full Year
$YY$ - Two digit year
$MM$ - Month
$DD$ - Day

You can chain them together with whatever separator you like...

$MM$-$DD$-$YY$ should give you the results you are looking for!

Maybe I should add a few more, like long month "January, February..., Long day, "Monday, Tuesday...", and get rid of the pre formatted dates... !? I suppose some people will like NOT having to think about it, and just click on the preformatted ones... hmm..

Regards,
Bill


Download Attachment: hurricane-6.1.02.zip
122.58 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 - July 11 2003 :  5:38:53 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
MORE TAG STUFF !!!

The custom separators open up NEW possibities...total automation getting closer...hehehe

If FilePath = $FILEPATH$

Could there be a FilePath UP 1 level = $FILEPATHup1$

...in other words...

FilePath = C:job folderdrawing folder

FilePathup1 = C:job folder

possibly even up2, up3

The plan would be to use uplevel tags in conjunction with stuff I know never changes. I would essentially eliminate the need for me to call for different tags, on different projects...within different scripts. Hmm...Maybe they won't even need to be different scripts anymore

Wait a minute.....

ahh... I'll save it

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 - July 11 2003 :  8:46:48 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Great!

Sounds like another fantastic idea!

"..up1", "..up2"... hmmm... maybe something a litte more conventional?

What about these options:

1) $FILEPATH-1$, $FILEPATH-2$
2) $FILEPATH(-1)$, $FILEPATH(-2)$
3) $FILEPATH..$, $FILEPATH...$
4) $FILEPATH-/$, $FILEPATH-//$

Any other ideas?
Bill

The issue now, is what happens when there isn't a "..up3" because the filename is "C:DIRdrawing.dwg"? I have to pass an error back, so the script will be compiled with an error... Or.... hmmm... I guess I can add a whole new system which tells the user (using message boxes) that the TAGs have errors... wow... this could go on forever... I love it!

Thanks!
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 - July 14 2003 :  1:05:44 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Personally I like:

$FILEPATH-1$, $FILEPATH-2$

That is a bit more conventional... I always think of it as "UP A FOLDER" like the icon with the arrow.

As long as $FILEPATH-1$, $FILEPATH-2$ isn't confused for FILEPATH#1, FILEPATH#2....not that that means anything... though an unfamiliar user may not realize at a glance what it means....and again, not that they would anyway.



Go ahead pass me some errors...

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 - July 21 2003 :  1:11:11 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Just thinking...

Say I use the following to locate my .plt file in a plot to file script:

"$FILEPATH-1$SUBMITTAL-FOLDER$MM$-$DD$-$YY$$FILENAME$$TAG22$_$MM$-$DD$-$YY$.plt"

I am going to plot this drawing:
C:projectdrawingssample-drawing.dwg


"$FILEPATH-1$SUBMITTAL-FOLDER will take me to:
C:projectSUBMITTAL-FOLDER


Then... it's going to look for a folder equal to $MM$-$DD$-$YY$, which would be the current date. If a folder such as ...

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 - July 21 2003 :  8:30:30 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hmmmm.... you have a very interesting idea there... Let me think a bit as far as other possible "implications".

I thought that META commands could be classified as ULTRA POWER USER FEATURES, now this... this is at least ULTRA MEGA POWER USER FEATURES...


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 - July 22 2003 :  09:29:35 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
I Guess they could be ULTRA POWER USER FEATURES or even ULTRA MEGA POWER USER FEATURES.... or just simply ADMIN FEATURES

It would actually simplify usage for some of the other people here, (including myself). It would eliminate the pre-run setup stuff we need to do before running some of our scripts, (i.e. plot file scripts). That's where some of my people hit a wall. They're more than capable, it's just....ehh...... Consistency is crucial to a good product. Until I can script my employees...Hurricane will be more consistent...

Queueing up drawings, selecting the correct script and executing are no problem.

...for us anyway

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 - July 23 2003 :  11:44:36 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Am I the only one who uses Hurricane to create PLT and PDF files


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

pccad@sonic.net
New Member



USA
12 Posts

Posted - July 23 2003 :  12:45:44 PM  Show Profile  Reply with Quote
Absolutly not, We use Hurricane for most of our plotting, love the tag thing being developed. We also date our deliverables and would really like to script the folder creation process.. way cool.

Stan
Pacific Coast CAD,Inc
Go to Top of Page

Admin
Administrator



652 Posts

Posted - July 23 2003 :  4:18:56 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Here is Hurricane 6.1.6, which includes the following enhancements...

1) New Tags:
$FILEPATH-x$ (x can = 1 to 9) (If you need to dig deeper let me know)
$FILEDRIVE$ - The drive of the file currently opened (i.e. "C:"")
(Instead of passing back an error if you dig too deep eg. if your $FILEPATH$ is "C:TESTTEST"" and you try to do a $FILEPATH-4$, then $FILEPATH-4$ will return "C:"". Basically, no error, but it will return the lowest possible path. (Or the same thing as $FILEDRIVE$))

2) Under the Tools->Options, another syntax checking option... to 'Warn when referencing folder that doesn't exist..."
You will have to ENABLE this feature, as it is disabled by default.

(File Updated July 26th)
Download Attachment: hurricane-6.1.6.zip
124.41 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 - July 24 2003 :  08:47:22 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
This is GREAT !!! I can't wait....

I have checked the new box, 'Warn when referencing folder that doesn't exist..."

But it doesn't seem to change the TAGS into the REAL FOLDERS

$FILEPATH-1$ stays $FILEPATH-1$, $MM$-$DD$-$YY$ stays $MM$-$DD$-$YY$, etc...


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 - July 24 2003 :  09:30:58 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Silly Me...

What am I thinking... putting TAGS within STATIC TAGS...

This works great Bill, Thank You!

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 - July 26 2003 :  9:16:12 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hey no problem...

I've just updated the file (link above) to 6.1.6 to include the error-checking... (the same link will download the updated 6.1.6) (no version number increase)

If you attempt to create a directory that has invalid characters, then you should see an error message box.

I hope this settles the above requests!

Now... I'm off to work on the admin/novice interface management!
(Something I've been meaning get done for a while!)

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

lurkfear
New Member



11 Posts

Posted - July 29 2003 :  1:04:46 PM  Show Profile  Visit lurkfear's Homepage  Reply with Quote
I use this DIESEL expression to give me the date of the last file modification:
$(edtime, $(getvar, tdupdate), M"/"DD"/"YY )

This one gives me the full path:
Full Path: $(getvar, "dwgprefix")

This one gives me the first six characters of AutoCAD's version number:
$(substr,$(getvar,acadver),1,6)

I even have one that uses the first two characters of the filename to create the drawing number (of the subset) (I number my drawings):
Subset Sheets: B$(substr,$(getvar,dwgname),1,2)

Most of these can be generated by any plot stamp routine, however, I use RTEXT in my title block so that I don't have to update these fields.

Einstein said that insanity is doing the same thing over and over expecting different results.
Go to Top of Page

Admin
Administrator



652 Posts

Posted - July 29 2003 :  2:19:39 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Thanks lurkfear,

Those can come in handy... I've tried the command, and it won't work for me as (I've learned that you need Express Tools installed) I've just checked with others here, and nobody here has "Express Tools" installed, and the RTEXT command is part of it. Maybe something to look into.

I'm a little confused though.. these expressions can be entered where? In place of text? or in a lisp file? or in response to a lisp prompt? (like in TBWiz.lsp)?

I can definitely see what you are doing can save you tons of time!

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

lurkfear
New Member



11 Posts

Posted - July 29 2003 :  2:33:36 PM  Show Profile  Visit lurkfear's Homepage  Reply with Quote
First of all, since it is FREE!!! with your AutoCAD license, everyone should have and use Express Tools. Anyone who doesn't use them is way missing out. Kind of like Hurricane, I don't know what I would do without it.

Secondly, I use those expressions as RTEXT arguments instead of text and instead of attributes. The title block of our drawings has about 50 attributes for all the data we are required to fill in. Having remote text fill in as many blanks automatically really saves a lot of time. Especially when these particular ones are often neglected by inexperienced users.

Lastly, DIESEL expressions can be readily used in lisp routines. They can pass important system information (like system variables) to and from autolisp quickly and seamlessly. Using DIESEL expressions will help you with other problems being discussed in other forums.

Einstein said that insanity is doing the same thing over and over expecting different results.
Go to Top of Page

Admin
Administrator



652 Posts

Posted - July 29 2003 :  3:17:28 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
What!

I keep reading in the newsgroups that it USED to be free, but they decided to sell it...
Hmmm ... lemme check....

http://usa.autodesk.com/adsk/servlet/section?id=218616&siteID=123112

Maybe I'm wrong!?!?, but there is a link in their online store... maybe this is for people who don't have a "subscription!"?!?!?

http://estore.autodesk.com/dr/v2/ec_MAIN.Entry17c?SP=10007&PN=5&CID=0&SID=19515&PID=282138&DSP=&CUR=840&CACHE_ID=-1
Hey, its inly $149!

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

lurkfear
New Member



11 Posts

Posted - July 29 2003 :  3:24:58 PM  Show Profile  Visit lurkfear's Homepage  Reply with Quote
Check your AutoCAD installation CD.

I promise that it comes with AutoCAD. If it is not on your 2002 CD, check your previous version's CD. If your license is paid for, you have access to Express Tools.

I KNOW that it is on the 2004 CD. Ther are other things I know, but can't mention here.


Einstein said that insanity is doing the same thing over and over expecting different results.
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.47 seconds. Snitz Forums 2000