• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor Customization

    Reply
    Distinguished Contributor
    Posts: 121
    Registered: ‎01-17-2010
    Accepted Solution

    iLogic - Update iproperties

    212 Views, 3 Replies
    11-08-2012 05:01 AM

    Hello,

    I have an iLogic form which define iproperties or parameters values.The form is ok, when I modify values in the form, the iproperties or parameters are modified in the part.

    I need to use these values in another rule, to define the folder name where I want to save the part. So I have created a rule which display the form, then I use the properties or parameters defined in the form. The problem is the iproperties/parameters are updated only at the end of the rule, not when I close the form.

    How can I use in the rule the values defined in the form ?

    Please use plain text.
    Distinguished Contributor
    Posts: 121
    Registered: ‎01-17-2010

    Re: iLogic - Update iproperties

    11-12-2012 02:44 AM in reply to: TONELLAL

    Any idea ?

    Please use plain text.
    Mentor
    mehatfie
    Posts: 163
    Registered: ‎02-10-2012

    Hi Tonellal   There is a Snippet that allows you to Updat...

    11-12-2012 11:25 AM in reply to: TONELLAL

    Hi Tonellal

     

    There is a Snippet that allows you to Update the document Immediately at a given point in the code. 

     

    Look through the Snippets in the left column when editing an iLogic rule (I believe its under documents) and run your mouse over to highlight what each one does.

     

    I believe this should fix your issue

     

    Regards

    Mitch

    Please use plain text.
    Distinguished Contributor
    Posts: 121
    Registered: ‎01-17-2010

    Re: Hi Tonellal There is a Snippet that allows you to Updat...

    11-14-2012 08:43 AM in reply to: mehatfie

    OK, it seems to be solved by using iProperties.Value("Project", "Part Number")=Parameter("Length") instead of iProperties.Value("Project", "Part Number")=Length.

    Please use plain text.