Batch copy of iProperties fields to custom iProperties of all Inventor files in a folder

Batch copy of iProperties fields to custom iProperties of all Inventor files in a folder

MatteoR_
Contributor Contributor
1,328 Views
7 Replies
Message 1 of 8

Batch copy of iProperties fields to custom iProperties of all Inventor files in a folder

MatteoR_
Contributor
Contributor

Hello,

I need to batch the following operation on all the Inventor files contained in a folder and all the subfolders.
In particular, I need to copy some iProperties fields to custom iProperties fields, for every .ipt and .iam file.

iProperties.Value("Custom", "Target custom iProperty") = iProperties.Value("Project", "Authority")


I found some hints here and there in the forum, but they were about different tasks and I need to run this script for every Inventor file under a specific folder.
Something like:

Public Sub batch()
Dim oApp As Inventor.Application
Set oApp = GetObject(, "Inventor.Application")
...Open every ipt or iam o dwf in the specified folder and all the subfolders...

Is it possible to do that?
Thank you.
Regards.

0 Likes
Accepted solutions (1)
1,329 Views
7 Replies
Replies (7)
Message 2 of 8

basautomationservices
Advocate
Advocate
Accepted solution

Yes this is possible.

 

I would advise you to look around in the appstore (https://apps.autodesk.com/INVNTOR/en/Home/Index) there are quite a few batch/iProp apps in there, maybe there is one that suits your needs. 

Contact me for custom app development info@basautomationservices.com. Follow below links to view my Inventor appstore apps.

Free apps: Smart Leader | Part Visibility Utility | Mate Origins

Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro


Message 3 of 8

dalton98
Collaborator
Collaborator

I haven't done this before but I think you can run external rules in the "Task Scheduler" program. Create Custom Task>select folder. Not much help but maybe this can get you started

Message 4 of 8

Michael.Navara
Advisor
Advisor

For iProperties edit is very useful ApprenticeServer. Here is a short sample. https://help.autodesk.com/view/INVNTOR/2020/ENU/?guid=GUID-A1C343E0-2324-4AB1-A7A3-E2359D29DB6D

But you need to create your own exe application. Application must be compiled as 64bit only. It is not possible to use it from invenotr process (or iLogic)

Message 5 of 8

MatteoR_
Contributor
Contributor

This is a nice possibility though, needs a minimum programming approach but opens a wide number of solutions. Thank you.

0 Likes
Message 6 of 8

MatteoR_
Contributor
Contributor

You were right, I found a nice batch app built from Autodesk, called "iLogic Rule Batch Tool", that does exactly what I need with nearly zero extra effort 🙂 Thank you!

0 Likes
Message 7 of 8

rfloresPM8SH
Explorer
Explorer

Ciao Mateo!

Would you mind a link to the app that you found to do this? I have been searching like crazy but cant find anything

Thanks!

 

0 Likes
Message 8 of 8

MatteoR_
Contributor
Contributor

I forgot to mention the name. It's "iLogic Rule Batch Tool" by Autodesk.