Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Globally Replace Title Block

8 REPLIES 8
Reply
Message 1 of 9
karthur1
691 Views, 8 Replies

Globally Replace Title Block

I have made a change to my "standard" Title Block. I would like to replace the title block that is in all of my existing idws with this new one. My idws are in Vault, so I would have to first do a check-out on all of them, then I would like to run a routine that would replace the titleblock with the one from my "Standard" template. The titleblocks are the same name...if that helps any.

I could use the Drawing Resouce Transfer Wizard, but my drawings span over a bunch of directories and with the DRTW, you have to pick each-and-every-file and this will take forever. If I could pick a directory and let the choice be recursive, that would be much quicker.

Thanks for any help.....
8 REPLIES 8
Message 2 of 9
Anonymous
in reply to: karthur1

why don't you make them different names and only replace when the document
is opened again by using an event to trigger code to check for the
titleblock and replace if it's not the new name?

wrote in message news:5865960@discussion.autodesk.com...
I have made a change to my "standard" Title Block. I would like to replace
the title block that is in all of my existing idws with this new one. My
idws are in Vault, so I would have to first do a check-out on all of them,
then I would like to run a routine that would replace the titleblock with
the one from my "Standard" template. The titleblocks are the same name...if
that helps any.

I could use the Drawing Resouce Transfer Wizard, but my drawings span over a
bunch of directories and with the DRTW, you have to pick each-and-every-file
and this will take forever. If I could pick a directory and let the choice
be recursive, that would be much quicker.

Thanks for any help.....
Message 3 of 9
karthur1
in reply to: karthur1

That would work. Then I could use Autodesk Task Scheduler to open the drawings.

Problem is, I am VBA challenged. Do you have a macro to do this?
Message 4 of 9
Rene-J
in reply to: karthur1

See link:
ADD-IN Automatic update Drawing Resources
http://www.mcadforums.com/forums/viewtopic.php?t=8018

René J
Message 5 of 9
karthur1
in reply to: karthur1

Rene,
Much appreciated!! That works very nice. After I set the template file, I was able to run a migrate task with the Autodesk Task Scheduler. This migrates the old files and puts in my new template all in one shot.

The only thing that I noticed is I now have 5 occurances of the "Auto DrawingRes.Options in the Tools menu bar. It does not cause any problems that I can tell.

I am using R2008, sp2.

Thanks again.
Message 6 of 9
Rene-J
in reply to: karthur1

Stupid bug in my program
New version V1.1 Available now

http://www.mcadforums.com/forums/viewtopic.php?p=55228#55228

PS: If you have Installed the old version
Uninstall the Addin "ADrawingResources"
Open Inventor and close before you
installing the new version "AdrawingResources v1.1"

René J
Message 7 of 9
karthur1
in reply to: karthur1

That fixed that problem.
One question. If the titleblock in the idw is the same as the one in the template, is it still replaced?

What I am seeing is this.
1. First, if I have the "Auto Update" option selected, and open an idw, the title block is updated to be identical to the one selected as the standard. This works beautifully.
2. Save and close the idw.
3. Now re-open the same idw. Now when I close this, Inventor prompts me to save it. Inventor thinks that the idw has changed. If I uncheck the "Auto Update" option, and open the idw, I can then close it and Inventor does not want me to save it.

It is like the titleblock is being replaced even though it is the same. I guess there is no way of knowing if the titleblocks are the same or not.

Thanks again for this handy application.
Message 8 of 9
Rene-J
in reply to: karthur1

Yes The Titleblock is replaced every time
you open a drawing.
There is no way to check the titleblock are same or not.
you have to live whith Inventor prompts to save it on close

René J
Message 9 of 9
Anonymous
in reply to: karthur1

if you name your titleblock with a revision delineation in the filename you
could avoid doing it everytime something like "MyTitleBlock-1.1"


"René J <>" <=?UTF-8?Q?Ren=C3=A9_J_<>?=> wrote in message
news:5867756@discussion.autodesk.com...
Yes The Titleblock is replaced every time
you open a drawing.
There is no way to check the titleblock are same or not.
you have to live whith Inventor prompts to save it on close

René J

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report