TheSwamp
CAD Forums => Vertically Challenged => Topic started by: Krushert on March 23, 2007, 02:02:58 PM
-
I was wondering. :-o
Is it possible to or place a some piece of sort of "code" (lack of a better term) in the prefix spot for "Exporting to Autocad" in options dialog to provide the current date? See Image. Just curious to see if it can be done. I know it can be done with code by creating a new command but I would like to see if it can be done thru "Options".
This should probably be in the code section but I thought this might be a better place to start.
-
I suppose it could be done but..... That's held in the registry.
(vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" (getvar "cprofile") "\\Preferences\\AecGuiBase50") "ExportExplodedToAutoCADFilePrefix" "BVH-")
I have ours set to automatically prefix with the company name.
-
I suppose it could be done but..... That's held in the registry.
(vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" (getvar "cprofile") "\\Preferences\\AecGuiBase50") "ExportExplodedToAutoCADFilePrefix" "BVH-")
I have ours set to automatically prefix with the company name.
We prefix the date then the initials of the person/company we are sending it to. I have a lisp routine to do what I am asking but I curious to see if it could be done just within the options or maybe registry. But Messing with the registry .... ummm ... :lol:
-
<snip>
But Messing with the registry .... ummm ... :lol:
(http://www.whattablast.com/thumbnails/chicken_dancing.gif)
awww c'mon. give it a shot... let us know how it goes. send pics :lmao:
-
I think I would write some code to update the registry when you call the export command. That way it is always current (date) you are looking for
-
The more I think of it, I like my lisp routine even more.
And yes I am a little chicken when it comes to the registry. :-D
-
Hey Krush, any chance you could edit the subject line? Think of all the things that could go after that.
Is it possible to get ...
Good oranges outside of Florida.
Herpes from a bicycle seat.
Se7en's undies in a bunch.
Etc. Etc. :-D
-
Hey Krush, any chance you could edit the subject line? Think of all the things that could go after that.
Is it possible to get ...
Good oranges outside of Florida.
Herpes from a bicycle seat.
Se7en's undies in a bunch.
Etc. Etc. :-D
How is that edit? :-D :-D
only you (and maybe dent also) would think of this
-
Hey Krush, any chance you could edit the subject line? Think of all the things that could go after that.
Is it possible to get ...
Good oranges outside of Florida.
Herpes from a bicycle seat.
Se7en's undies in a bunch.
Etc. Etc. :-D
How is that edit? :-D :-D
only you (and maybe dent also) would think of this
I thought it was worded: "Git 'er Done!"