Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Rule to rename newly placed iLogic assemblies

7 REPLIES 7
Reply
Message 1 of 8
daulj
792 Views, 7 Replies

Rule to rename newly placed iLogic assemblies

I'm running Invenor 2013 and I'm trying to figure out a way to rename my components from an iLogic assembly when placed in a new assembly.

 

Right now when I start a new assembly, then place an iLogic component it names everything "Part-01," Part1-01" and so on for all of the variable components.

 

What I'd like to do is write a rule that when placing my iLogic component it will name it based on the filename of the new assembly that I've created. "Part-New Assmebly," "Part1-New Assembly" and so on.

 

Has anyone out there done this. I'm looking for some sample code that can make this happen! 

7 REPLIES 7
Message 2 of 8
reginaldmb
in reply to: daulj

YES PLEASE,  I am also looking for an answer to this.  Any PRO out there please?

Message 3 of 8
MjDeck
in reply to: reginaldmb

It should be possible to do this with a custom add-in (written in VB or C#). But I don't have any sample code.


Mike Deck
Software Developer
Autodesk, Inc.

Message 4 of 8
reginaldmb
in reply to: daulj

Thank you for the reply! That is quite a pity...hope Autodesk will work on that!

Message 5 of 8
reginaldmb
in reply to: MjDeck

Hi! Do you perhaps know someone who would know how to program the coding for this?

Message 6 of 8
Carthik_Babu
in reply to: reginaldmb

check out this link, hope it will be useful
http://beinginventive.typepad.com/being-inventive/2010/04/replacing-and-renaming-components-in-an-as...

http://beinginventive.typepad.com/files/file-rename-with-inventor-ilogic-2.flv
Carthik Babu M.S, Asst Manager - Machine Building,
Gabriel India Ltd,Hosur, TN, INDIA
Email:carthik_ms@yahoo.co.in ,
https://grabcad.com/carthik-1/projects
"May all beings be happy" http://www.dhamma.org/
Message 7 of 8
Carthik_Babu
in reply to: reginaldmb

The below link give idea of renaming all component (it meant for renaming solid bodies in a component)
http://inventortrenches.blogspot.in/2012/02/ilogic-to-rename-all-solid-bodies.html
Carthik Babu M.S, Asst Manager - Machine Building,
Gabriel India Ltd,Hosur, TN, INDIA
Email:carthik_ms@yahoo.co.in ,
https://grabcad.com/carthik-1/projects
"May all beings be happy" http://www.dhamma.org/
Message 8 of 8
tsreagan
in reply to: Carthik_Babu

Here ya go.

 

Needs Minimal Modification.

Browser nodes should be named by "Default" for this to show,  untill you add part number or file name code.

 

 

T.S.

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

Post to forums  

Autodesk Design & Make Report