Automating Shrinkwrap for Multiple Assemblies

Automating Shrinkwrap for Multiple Assemblies

Anonymous
Not applicable
408 Views
1 Reply
Message 1 of 2

Automating Shrinkwrap for Multiple Assemblies

Anonymous
Not applicable

I'm working on a project to calculate the surface areas of multiple subassemblies within a product The work will be very repetitive as all I'll be doing is opening up the same assembly files, Shrinkwrapping using the same options selected and taking note of the surface area in iProperties. I will not need to keep the Shrinkwrapped part. I could do this repetitive task about 10 times, but I will have to do it possibly at least 100 times.

 

I see this as an opportunity to learn writing macros for Inventor. I have no previous experience with macros for Inventor, although I'm very familiar with Java so I am not completely new to programming (I know it's very different to VB). This is the sequence of things I want this macro to do:

 

  1. Open project file
  2. Open assembly file (there will be different assembly files)
  3. Assemble > Shrinkwrap
  4. Select options (mostly all default)
  5. Create new part
  6. Go to iProperties > Update > Copy surface area
  7. Write assembly file name and surface area value to file
  8. Close part (not save)
  9. Repeat from step 2 - next assembly file

Is this something that is fairly easily implemented in iLogic? I want to see first if the time taken for me to automate it will be less than the time it will take for me to do all these actions manually.

 

Thank You.

0 Likes
409 Views
1 Reply
Reply (1)
Message 2 of 2

Ron_Jones1122
Advocate
Advocate

You should use the Task Scheduler to automate all of this. 



Ron Jones
Engagement Manager
Blog
LinkedIn

0 Likes