Inventor 2016 - ILogic to update parameters in every part of an Assembly

Zen Admin
Zen Admin
  • Updated

By Clint Brown

I was asked by a customer today, if there was a way to embed copyright information into all of their parts in a large assembly.

My first thought was to write a few lines of iLogic code that would write a set piece of copyright information to the iProperties of each part.

Effectively we are pushing information from the top level assembly to each of the child components in the assembly structure below.

The code I used is attached to the bottom of this blog post. You would need to change the wording on Line 19, it currently says Hello World

 

Properties.Value(CadlinePart, "Summary", "Comments") = "Hello World"

 

The video below shows everything in action (note that it is silent, but with captions)

Was this article helpful?

3 out of 3 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.