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: 

ilogic for part numbers

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
490 Views, 3 Replies

ilogic for part numbers

Hi all,

 

Using Inventor 2014.

 

We are trying to use ilogic to create parts numbers for parts belonging to an assembly. If the assembly has part number: TC123435 we want the parts to have sequence of part numbers like this: TC12345_1, TC12345_2 ...

 

We would like the inventor to automaticaly give the new part the next part number in the sequence as we create a new part in the assembly.

We can do this manually:

 

t = iProperties.Value("Project", "Part Number")

iProperties.Value("part1:1", "Project", "Part Number") = t + "_1"

iProperties.Value("part2:1", "Project", "Part Number") = t + "_2"

 

but this is exacly what we are trying to run from. (after 20 part numbers defined....)

 

Any suggestions?

 

thanks in advance

 

Nuno

 

3 REPLIES 3
Message 2 of 4
mcgyvr
in reply to: Anonymous

Like this ? (when in the ipart table hit the options button at the bottom left and set it up like this)

nuno_ipart.PNG

 

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
Message 3 of 4
Anonymous
in reply to: mcgyvr

Maybe I did not explain myself correctely.

 

We are only using parameters and rules and we are trying to get this only by using ilogic rules.

 

 

 

Message 4 of 4
mcgyvr
in reply to: Anonymous

Sorry.. I'm not sure why I thought this was an ipart issue.. 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269

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

Post to forums  

Autodesk Design & Make Report