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: 

Replace text - field text & leader text

5 REPLIES 5
Reply
Message 1 of 6
dschleede
349 Views, 5 Replies

Replace text - field text & leader text

I'm reposting this because I think I put this in the wrong section earlier:

 

I've created a set of "generic" equipment drawings for a client. Whenever the client has a new piece of equipment fabricated from the drawings they assign it an equipment number (for sake of argument let's say the number is "426"). The generic drawings don't have a number, instead they have a "XXX" wherever the number should be. Every time they fabricate off of the drawings they revise 100+ drawings to show the equipment number where the X's are. I am looking for a piece of iLogic code or something that will help me replace the "XXX" with the equipment number so that I don't have to do it manually.

 

Now before anyone says it, I will: this is a dumb system. I've tried to convince the client that since the "generic" set of drawings never changes then they should also have a number that never changes. For some reason the client is not willing to try it this way, they want to continue duplicating and renumbering the drawings for every new piece of equipment.

 

Any help or ideas would be greatly appreciated.

5 REPLIES 5
Message 2 of 6
theo.bot
in reply to: dschleede

why not working with user properties instead of manual text?

Message 3 of 6
dschleede
in reply to: theo.bot

I agree with your suggestion 100%.  Problem is the drawings are done.  The client was involved in their creation and isn't exactly Inventor-saavy so a lot of the text was entered with field text.  I am looking for a way to use what exists; not recommendations on the way it should have been done.

Message 4 of 6
theo.bot
in reply to: dschleede

Ok i understand your point for the exsisting data.
Maybe this can help you:
http://adndevblog.typepad.com/manufacturing/2012/12/inventor-change-text-items-in-titleblockdefiniti...
Message 5 of 6
rjay75
in reply to: dschleede

Are all the drawing point to the same model or are the models copied as well. 

Message 6 of 6

Hi dschleede,

 

I posted some code to your other thread:

http://forums.autodesk.com/t5/inventor-general-discussion/replace-text-field-text-amp-leader-text/td...

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

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

Post to forums  

Autodesk Design & Make Report