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: 

Auto file number generation

1 REPLY 1
Reply
Message 1 of 2
Michael.KjelsonLGW93
230 Views, 1 Reply

Auto file number generation

Does anyone have a simple VBA project file that increments file names with a defined prefix? I am looking for my parts to have the following format: "Mxxxxxx" with the x's representing the next digits. If someone can provide that I would greatly appreciate it. 

1 REPLY 1
Message 2 of 2

I have a created a add-in for inventor that does this almost like you want.

The only difficulty is that how to prevent that other users choose the same file-name?

Better solution is to use Vault and configure there what your need is.

Or use this tool:

https://apps.autodesk.com/INVNTOR/en/Detail/Index?id=6313412206549579559&appLang=en&os=Win64

 

When needed and things are clear for you I possibly can help you with creating an add-in like I have but more specific for your needs. If needed you can send me a Private Message.

 

Regards,

 

Arthur Knoors

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

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

Post to forums  

Autodesk Design & Make Report