Ask and answer engineering questions

Learn from millions of experts

Feed

Cómo puedo hacer un ilogic de un ipart?

By Hugo Martin on 04 Jan 16:15 4 answers 287 views 4 comments

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)

Attachments

Brida2_prueba.ipt, 314 KB
Download

4 answers

  • Danny Key
    Danny Key 8 months ago

    Hi Hugo,

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

    Greetings

    Danny

    Attachments

    Brida_Test05_prueba.ipt, 321 KB
    Download
  • Danny Key
    Danny Key 8 months ago

    Hoi Hugo,

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

    Danny

  • Danny Key
    Danny Key 8 months ago

    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

    Attachments

    Code for rule seleccion de brida.docx, 50.9 KB
    Download
  • Danny Key
    Danny Key 8 months ago

    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

Add your answer to: "Cómo puedo hacer un ilogic de un ipart?"

Save Cancel