<?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 Custom property value appearing in other models! in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-property-value-appearing-in-other-models/m-p/6502476#M66134</link>
    <description>&lt;P&gt;Using VBA I've created a module and I use ......("Inventor User Defined Properties").Add("RevDate") and set a value. This can be changed by the user but needs to be remembered for that model. This value is also found and used in the drawing for that model using illogic&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;oDate = iProperties.Value("Custom", "RevDate")&lt;/P&gt;&lt;P&gt;Catch&lt;/P&gt;&lt;P&gt;oDate = DateTime.Now.ToString("d")&lt;/P&gt;&lt;P&gt;End Try&lt;/P&gt;&lt;P&gt;And then oDate is&amp;nbsp;used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I've added the iLogic&amp;nbsp;I have&amp;nbsp;a&amp;nbsp;problem. After setting a RevDate for a model, if I open a fresh template to create a new model the date set in the previous model comes up as the RevDate, even though that property should have only just been created and not set to anything!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What have I done wrong!?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2016 09:20:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-16T09:20:16Z</dc:date>
    <item>
      <title>Custom property value appearing in other models!</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-property-value-appearing-in-other-models/m-p/6502476#M66134</link>
      <description>&lt;P&gt;Using VBA I've created a module and I use ......("Inventor User Defined Properties").Add("RevDate") and set a value. This can be changed by the user but needs to be remembered for that model. This value is also found and used in the drawing for that model using illogic&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;oDate = iProperties.Value("Custom", "RevDate")&lt;/P&gt;&lt;P&gt;Catch&lt;/P&gt;&lt;P&gt;oDate = DateTime.Now.ToString("d")&lt;/P&gt;&lt;P&gt;End Try&lt;/P&gt;&lt;P&gt;And then oDate is&amp;nbsp;used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I've added the iLogic&amp;nbsp;I have&amp;nbsp;a&amp;nbsp;problem. After setting a RevDate for a model, if I open a fresh template to create a new model the date set in the previous model comes up as the RevDate, even though that property should have only just been created and not set to anything!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What have I done wrong!?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 09:20:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-property-value-appearing-in-other-models/m-p/6502476#M66134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T09:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom property value appearing in other models!</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-property-value-appearing-in-other-models/m-p/6524534#M66426</link>
      <description>&lt;P&gt;The Template has to be opened as a template&amp;nbsp;and not as a new file from the template. Once you have it open you can remove the date that is set and save. Then create a new model and the date should not be set now. Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 08:48:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/custom-property-value-appearing-in-other-models/m-p/6524534#M66426</guid>
      <dc:creator>sgwilliams</dc:creator>
      <dc:date>2016-08-26T08:48:45Z</dc:date>
    </item>
  </channel>
</rss>

