Rename VBA App?

Rename VBA App?

Anonymous
Not applicable
272 Views
2 Replies
Message 1 of 3

Rename VBA App?

Anonymous
Not applicable
Is it possible to have a VBA app. rename file names to match what has been
manually entered into the iProperties Part Number field?

I ask because the company I currently work for installed Inventor several
months before I got here and did not know how to use DA to rename temporary
files names (i.e. Bracket.ipt) to "official" part numbers (i.e. 2-5435.ipt).

They used the iProperties Part Number field as a work-a-round when creating
the IDW's of the IAM's so that the BOM's had the correct "official" part
numbers in them.

We have several hundreds of legacy files that need to be renamed. We want
to do this before we fully implement Vault 4. We are currently using
IV10SP1. To do this manually would be monumental and therefore, would not
be allowed to be done by the Powers-That-Be. (Way too much time wasted on
non-productive, non-valued added activity).

P.S. I know less than next to nothing about IV API or VBA, so any extremely
specific help would be unbelievably appreciated.

Thank You,
Rob
0 Likes
273 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
"Marvin Lee Aday" wrote in message
news:4925741@discussion.autodesk.com...
Is it possible to have a VBA app. rename file names to match what has been
manually entered into the iProperties Part Number field?

I ask because the company I currently work for installed Inventor several
months before I got here and did not know how to use DA to rename temporary
files names (i.e. Bracket.ipt) to "official" part numbers (i.e. 2-5435.ipt).

They used the iProperties Part Number field as a work-a-round when creating
the IDW's of the IAM's so that the BOM's had the correct "official" part
numbers in them.

We have several hundreds of legacy files that need to be renamed. We want
to do this before we fully implement Vault 4. We are currently using
IV10SP1. To do this manually would be monumental and therefore, would not
be allowed to be done by the Powers-That-Be. (Way too much time wasted on
non-productive, non-valued added activity).

P.S. I know less than next to nothing about IV API or VBA, so any extremely
specific help would be unbelievably appreciated.

Thank You,
Rob
0 Likes
Message 3 of 3

Anonymous
Not applicable
Certainly it is possible. Most people - me included - would be looking to make some money on implementing it as automation, though. You might be able to obtain some relief by using the Design Assistant to do the renaming instead of Inventor. Open the top level assembly then switch to the Properties view and use Tools/Reports/Properties to generate a list of the file names and part numbers. Open the saved report in NotePad then switch to the Manage view in DA. Expand the hierarchy then click the top file and shift click the bottom file to select all of them. Right click on one of the rows in the Action column and pick Rename. Now double-click on each row in the name column (or right click) and do your renaming. After you're done, make sure to save. You'll have to use Windows Explorer to rename the top level assembly. Notice also that Vault has a similar capability - maybe 'copy design' without reusing parts?
0 Likes