iLogic: Insert component and modify Positional Representation

iLogic: Insert component and modify Positional Representation

Anonymous
Not applicable
380 Views
1 Reply
Message 1 of 2

iLogic: Insert component and modify Positional Representation

Anonymous
Not applicable

I have three components: MyAssy.iam, MySubAssy.iam & MyPart.ipt.

 

MySubAssy.iam contains two Positional Representations: "Master" and "Up".

I want to insert  and constrain MyPart.ipt inside MySubAssy like:

 

Components.Add("MyComponent", "MyPart.ipt")
Constraints.AddFlush("Flush:1", "", "YZ Plane", "MyComponent", "YZ Plane", 10)
Constraints.AddFlush("Flush:2", "", "XZ Plane", "MyComponent", "XZ Plane", 20)
Constraints.AddFlush("Flush:3", "", "XY Plane", "MyComponent", "XY Plane", 30)

 

But in the "Up" position, I want to override "Flush:3" to 100.

 

MyAssy.iam also contains two positional representations: "Master" and "Open".

I want to insert MySubAssy.iam inside MyAssy.iam, and set positions as:

MyAssy.iam pos "Master": MySubAssy.iam pos is set to "Up".

MyAssy.iam pos "Open": MySubAssy.iam pos is overridden to "Master".

 

I have attached files that demonstrate desired outcome in Inventor 2019 format, and need code that works with 2019.

Help is greatly appreciated!

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

Anonymous
Not applicable

Any ideas anyone? Is it even possible to accomplish with iLogic? (so I know to give up if it's not possible)

I found some examples online of people manipulating positional representations, but not to this extent.

0 Likes