<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Update drawing properties from model iProperties Automatically in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3078328#M140138</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like to keep the properties of my drawing the same as those of my model. Currently I must remember to hit the "updat copied properties" button in the drawing to discard any old drawing properties and replace them with the properties from the model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to automate this task (perhaps on saving the drawing?) I presume an iLogic rule could be created in the drawing template, just not sure how to go about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2011 07:09:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-07-01T07:09:41Z</dc:date>
    <item>
      <title>Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3078328#M140138</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like to keep the properties of my drawing the same as those of my model. Currently I must remember to hit the "updat copied properties" button in the drawing to discard any old drawing properties and replace them with the properties from the model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to automate this task (perhaps on saving the drawing?) I presume an iLogic rule could be created in the drawing template, just not sure how to go about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2011 07:09:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3078328#M140138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-01T07:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3078398#M140139</link>
      <description>&lt;P&gt;Here’s an iLogic rule that will do it. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim oControlDef as ControlDefinition&amp;nbsp; = ThisApplication.CommandManager.ControlDefinitions.Item("UpdateCopiedModeliPropertiesCmd")&lt;BR /&gt;oControlDef.Execute&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.autodesk.com/t5/image/serverpage/image-id/10054i55B9C4FC2296A7CA/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Rule.png" title="Rule.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this rule, you have to uncheck the &lt;STRONG&gt;Silent Operation&lt;/STRONG&gt; option on the &lt;STRONG&gt;Options&lt;/STRONG&gt; tab in the rule editor if you want to see the prompt "This command will overwrite...".&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.autodesk.com/t5/image/serverpage/image-id/10056i2E724EA3E7C72D81/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Option.png" title="Option.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could set the rule to run on the After Open Document and/or Before Save Document events (using Manage -&amp;gt; iLogic -&amp;gt; Event Triggers).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.autodesk.com/t5/image/serverpage/image-id/10058i3905A1B5993AA94B/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Trigger.png" title="Trigger.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2011 08:45:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3078398#M140139</guid>
      <dc:creator>alessandro.gasso</dc:creator>
      <dc:date>2011-07-01T08:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3211636#M140140</link>
      <description>&lt;P&gt;This works great!&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;I've added this rule to our drawing template and have also set the rule to run silently (kept the silent operation option checked) to get rid of the nagging prompt.&amp;nbsp; This keeps the part iProperties and drawing iProperties synced.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2011 21:07:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3211636#M140140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-31T21:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3219866#M140141</link>
      <description>&lt;P&gt;Alessandro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding silent operation.&amp;nbsp; I am running your iLogic rule as specified, however I don't want the pop-up window that says: "This command will overwrite specified drawing iProperty values with the model's value. Do you want to continue?", so I have silent operation checked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought running the command with silent operation selected would prevent this pop-up; however it does not.&amp;nbsp; I've input the rule into our drawing templates and I don't want everyone to be pestered by this window.&amp;nbsp; I realize I can chose to hide that prompt by selecting "Do not show this message again ever", but....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought silent operation meant silent operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 22:36:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3219866#M140141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-07T22:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220166#M140142</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see from the attached video, it works for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want, you can share your template with me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 08:49:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220166#M140142</guid>
      <dc:creator>alessandro.gasso</dc:creator>
      <dc:date>2011-11-08T08:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220614#M140143</link>
      <description>&lt;P&gt;Yeah, it looks like it works great for you.&amp;nbsp; I wonder what I'm doing differently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the rule triggering only "Before Save Document" due to everytime I open the drawing, it would show as a change had been made.&amp;nbsp; This would make it impossible to change the state from Inventor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have selected, "don't run automatically" when parameters change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the drawing and part template.&amp;nbsp; These are in progress... and I'm definitely open to any suggestions you may have.&amp;nbsp; Thanks for the video!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 14:33:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220614#M140143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-08T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220814#M140144</link>
      <description>&lt;P&gt;Thanks for reporting the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There was a little issue in the original rule that if you run it manually, the Silent operation option is respected, but, if the rule is started by the trigger, the option is disregarded and you get the prompt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the difference between my video and what you are doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, replace the original rule with the one below, provided by Mike Deck and everything should work as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim oControlDef as ControlDefinition&amp;nbsp; = ThisApplication.CommandManager.ControlDefinitions.Item("UpdateCopiedModeliPropertiesCmd")&lt;/P&gt;
&lt;P&gt;oControlDef.Execute2(True)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 16:08:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220814#M140144</guid>
      <dc:creator>alessandro.gasso</dc:creator>
      <dc:date>2011-11-08T16:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220834#M140145</link>
      <description>&lt;P&gt;That fixed it!&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 16:17:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/3220834#M140145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-08T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/6518393#M140146</link>
      <description>&lt;P&gt;Does this iLogic work in 2017?&amp;nbsp; I have tried this script a couple of times and I have not gotten it to automatically populate the iproperties.&amp;nbsp; Am I missing some thing?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 20:35:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/6518393#M140146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T20:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/6566332#M140147</link>
      <description>&lt;P&gt;I also added both versions of this rule to my drawings and ran it. Absolutely nothing happened. I copied the rules verbatim. Was there some edit I was supposed to have made?&amp;nbsp;Does this rule serve the same purpose as automatically pushing the Update All Sheets button (which is what I want) or does it only update certain properties in the drawings?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 10:57:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/6566332#M140147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-16T10:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/9294563#M140148</link>
      <description>&lt;P&gt;Hi. I do realize this forum was started in 2011. But I tried implementing the iLogic rule in 2020. But for some reason, I get the error stating: Type 'ControlDefinition' is not defiend. Do you know if this iLogic rule is compatible with Inventor 2020?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 08:08:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/9294563#M140148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T08:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/9296956#M140149</link>
      <description>&lt;P&gt;Hi Pieter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should work. I tried the same code on 2020 and I did not get an error. I think maybe you have multiple model references. Inventor can get confused by which one to push the iProperties from. Could you share an example exhibiting the behavior here?&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 00:22:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/9296956#M140149</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2020-02-05T00:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11545126#M140150</link>
      <description>&lt;P&gt;I am now finding this iLogic rule does not work in Version 2022. Absolutely nothing happens&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 01:14:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11545126#M140150</guid>
      <dc:creator>ian_solomon</dc:creator>
      <dc:date>2022-11-11T01:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11547510#M140151</link>
      <description>&lt;P&gt;This ilogic rule below is just activating the "&lt;SPAN&gt;UpdateCopiedModeliProperties"&lt;/SPAN&gt;&amp;nbsp;button in the drawing ribbon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual"&gt;Dim oControlDef as ControlDefinition  = ThisApplication.CommandManager.ControlDefinitions.Item("UpdateCopiedModeliPropertiesCmd")

oControlDef.Execute2(True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like the copy model properties check boxes (what to copy from model to drawing) haven't been selected. Can you check that?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 04:34:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11547510#M140151</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-11-12T04:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11567766#M140152</link>
      <description>&lt;P&gt;All of the buttons I want to copy are checked. Basically I have to do it manually now.&lt;BR /&gt;I did have it set with a trigger to update before saving. It just fails to work at the moment&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 16:33:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11567766#M140152</guid>
      <dc:creator>ian_solomon</dc:creator>
      <dc:date>2022-11-21T16:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11568001#M140153</link>
      <description>&lt;P&gt;Are you getting any error message? Can you add a message box into the rule to ensure it is firing when you save?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 18:17:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11568001#M140153</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-11-21T18:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11568261#M140154</link>
      <description>Not sure how to add message box, but I am getting no error message at all, either when I save, or when I run the rule manually, it simply does not copy the properties</description>
      <pubDate>Mon, 21 Nov 2022 20:08:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11568261#M140154</guid>
      <dc:creator>ian_solomon</dc:creator>
      <dc:date>2022-11-21T20:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update drawing properties from model iProperties Automatically</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11568285#M140155</link>
      <description>&lt;P&gt;Here is the message box added&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oControlDef as ControlDefinition  = ThisApplication.CommandManager.ControlDefinitions.Item("UpdateCopiedModeliPropertiesCmd")

oControlDef.Execute2(True)
MessageBox.Show("The copy iproperties rule has run")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 20:23:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-drawing-properties-from-model-iproperties-automatically/m-p/11568285#M140155</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-11-21T20:23:24Z</dc:date>
    </item>
  </channel>
</rss>

