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: 

Generate part numbers

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

Generate part numbers

Has anyone written or seen a macro floating around that will generate sequential part numbers for non-library parts in an assembly? Even some partial code would help. My vb skills are pretty weak but I could probably fake it if I had a starting point. Thanks, -- Dave Hoder Product Design Engineer idX Seattle www.idxcorporation.com
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

Like... Dim i As Integer For i = 1 to 10 Call oDoc.SaveAs("C:\Temp\Part " & i & ".ipt",True) Next i "Dave Hoder" wrote in message news:40b39e2a_2@newsprd01... > Has anyone written or seen a macro floating around that will generate > sequential part numbers for non-library parts in an assembly? Even some > partial code would help. My vb skills are pretty weak but I could probably > fake it if I had a starting point. > Thanks, > > -- > Dave Hoder > Product Design Engineer > idX Seattle > www.idxcorporation.com > >
Message 3 of 4
Anonymous
in reply to: Anonymous

Our ipt and iam templates have macros in them that automatically grab the next number from a project spreadsheet, then name and save the file accordingly. Let me know if these could be useful. The macros were not written by me, so I won't necessarily be able to answer detailed questions, at least not without some digging. Sam Bixler Eli Lilly and Company, Indianapolis > Has anyone written or seen a macro floating around that will generate > sequential part numbers for non-library parts in an assembly? Even some > partial code would help. My vb skills are pretty weak but I could probably > fake it if I had a starting point. > Thanks, > > -- > Dave Hoder > Product Design Engineer > idX Seattle > www.idxcorporation.com
Message 4 of 4
Anonymous
in reply to: Anonymous

Thanks guys, but I need to change only the part number & leave the file name as is. -- Dave Hoder Product Design Engineer idX Seattle www.idxcorporation.com

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

Post to forums  

Autodesk Design & Make Report