Cómo puedo hacer un ilogic de un ipart?

He intentado a partir de una tabla de ipart de 8 filas hacer un ilogic y no me sale siempre da el mismo error (object reference not set to an instance of an object)

4 Answers

Hi Hugo,

I send you my model as an attachement,
it is Inventor 2017.

Greetings

Danny

Hoi Hugo,

What do you want to achieve with the I-logic rule?

Danny

Hoi Hugo,

I think this is what you want.
Code for the rule, see attachment.
Save your I-part as an other part.
Then you open the part and delete the structure from the I-part,
so it wil be a normal part.
Then you open your rule en delete everithing in it.
Then you past de code from the attachment into your rule.
(I now that the code can be write better, but this wil do the trick.)
When you open the form and select a brida it wil change.
in the beginning it can have a slow start.

Greetings,

Danny

Hoi Hugo,

i think you need this code.

iPart.ChangeRow("", Opcion)

this is al the code you need in your rule.
In options of the rule, only select " silent operations"

I did paste it in the rule from your example and it works fine.

Greetings

Danny