<?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 Re: I-Logic for Custom properties in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714201#M115203</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your correction, would you please take a look to my latest reply?&amp;nbsp;&lt;SPAN&gt;on "Rev Date" i want it to leave empty on the first entry value, so it will be filled when we do the revision.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached on replied with the pic that i wanted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciated your prompt reply.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 04:09:52 GMT</pubDate>
    <dc:creator>didin.suryadi6JREK</dc:creator>
    <dc:date>2020-08-27T04:09:52Z</dc:date>
    <item>
      <title>I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9711974#M115104</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone check below i-logic code?&lt;/P&gt;&lt;P&gt;=============================&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyName1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"Rev Desc"&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyValue1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;""&lt;/SPAN&gt;

&lt;SPAN&gt;customPropertySet&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
&lt;SPAN&gt;Try&lt;/SPAN&gt;
      &lt;SPAN&gt;prop&lt;/SPAN&gt; = &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;propertyName1&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
      &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;""&lt;/SPAN&gt;, &lt;SPAN&gt;propertyName1&lt;/SPAN&gt;)
  &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
  
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyName2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"Rev Date"&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyValue2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"mm/dd/yyyy"&lt;/SPAN&gt;

&lt;SPAN&gt;customPropertySet&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
&lt;SPAN&gt;Try&lt;/SPAN&gt;
      &lt;SPAN&gt;prop&lt;/SPAN&gt; = &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;propertyName2&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
      &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"mm/dd/yyyy"&lt;/SPAN&gt;, &lt;SPAN&gt;propertyName2&lt;/SPAN&gt;)   
	  
  &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;

	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyName3&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"Salvagnini Proficient"&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyValue3&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"Yes"&lt;/SPAN&gt;

&lt;SPAN&gt;customPropertySet&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
&lt;SPAN&gt;Try&lt;/SPAN&gt;
      &lt;SPAN&gt;prop&lt;/SPAN&gt; = &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;propertyName3&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
      &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"Yes/No"&lt;/SPAN&gt;, &lt;SPAN&gt;propertyName3&lt;/SPAN&gt;)  
	  
  &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;BR /&gt;====================================================&lt;BR /&gt;The problem on the result i have is the "Rev Date" shown as text meanwhile the purpose i need is "Date"&lt;BR /&gt;and the 2nd one on string "Salvagnini proficient" it's needs to be a multpile choices 'YES'NO"&lt;BR /&gt;&lt;BR /&gt;Please see attached the wrong result and what i need.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Custome Properties (wrong).JPG" style="width: 506px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811362iCD5F877C55FD515A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Custome Properties (wrong).JPG" alt="Custome Properties (wrong).JPG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 03:30:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9711974#M115104</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-26T03:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9712210#M115108</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7643238"&gt;@didin.suryadi6JREK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You must use a value of the datatype expected by the property type you want it to be.&lt;/P&gt;&lt;P&gt;For example, if you want a date property, the value must be of a date type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyName1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Rev Desc"&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyValue1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;prop&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyName1&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;propertyName1&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyName2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Rev Date"&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyValue2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Date&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Today&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;


&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;prop&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyName2&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyValue2&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;propertyName2&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyName3&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Salvagnini Proficient"&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyValue3&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;


&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;prop&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyName3&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyValue3&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;propertyName3&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Aug 2020 07:31:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9712210#M115108</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-26T07:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9713638#M115183</link>
      <description>&lt;P&gt;Pulled directly from the API help file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Public Sub CreateCustomProperties()
    ' Get the active document.
    Dim invDoc As Document
    Set invDoc = ThisApplication.ActiveDocument
    
    ' Get the user defined (custom) property set.
    Dim invCustomPropertySet As PropertySet
    Set invCustomPropertySet = invDoc.PropertySets.Item("Inventor User Defined Properties")
    
    ' Declare some variables that will contain the various values.
    Dim strText As String
    Dim dblValue As Double
    Dim dtDate As Date
    Dim blYesOrNo As Boolean
    
    ' Set values for the variables.
    strText = "Some sample text."
    dblValue = 3.14159
    dtDate = Now
    blYesOrNo = True
    
    ' Create the properties.
    Dim invProperty As Property
    Set invProperty = invCustomPropertySet.Add(strText, "Test Test")
    Set invProperty = invCustomPropertySet.Add(dblValue, "Test Value")
    Set invProperty = invCustomPropertySet.Add(dtDate, "Test Date")
    Set invProperty = invCustomPropertySet.Add(blYesOrNo, "Test Yes or No")
End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a yes/no custom iProperty you will need to provide a variable with a boolean type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best of luck!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 19:31:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9713638#M115183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-26T19:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714123#M115197</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried but came up msg error, why is that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="errors.JPG" style="width: 836px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811828i70C003F52417A142/image-size/large?v=v2&amp;amp;px=999" role="button" title="errors.JPG" alt="errors.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 02:39:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714123#M115197</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-27T02:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714129#M115198</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, but the same error msg came up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error2.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811832i3122EA4E56F71CD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="error2.JPG" alt="error2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 02:43:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714129#M115198</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-27T02:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714136#M115199</link>
      <description>&lt;P&gt;HI, THIS IS WHAT AM TALKING ABOUT, THANKS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IT's WORKED.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="worked solution.JPG" style="width: 444px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811833iE797F137CBA99366/image-size/large?v=v2&amp;amp;px=999" role="button" title="worked solution.JPG" alt="worked solution.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 03:00:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714136#M115199</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-27T03:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714149#M115200</link>
      <description>&lt;P&gt;&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You have provided an example that runs VBA makro and you are trying to write it to iLogic. As a result, you get an error. Replace "Public Sub CreateCustomProperties ()" with "Sub main ()". And everywhere there is the word “Set”. Erase them.&lt;/P&gt;&lt;P&gt;And just read all &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; posts in this forum and you will find a lot of interesting and useful &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 03:10:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714149#M115200</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-08-27T03:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714183#M115202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just come up with another question, what string do i have to put on "Rev Date" if i want it to leave empty on the first entry value, so it will be filled when we do the revision.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyName2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"Rev Date"&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;propertyValue2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Date&lt;/SPAN&gt; = &lt;STRIKE&gt;Today.Date&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRIKE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; Attached the final result that i wanted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciated your help.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Empty value on Date string.JPG" style="width: 433px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811839iB75C1F6937F56D3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Empty value on Date string.JPG" alt="Empty value on Date string.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 03:41:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714183#M115202</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-27T03:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714201#M115203</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your correction, would you please take a look to my latest reply?&amp;nbsp;&lt;SPAN&gt;on "Rev Date" i want it to leave empty on the first entry value, so it will be filled when we do the revision.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached on replied with the pic that i wanted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciated your prompt reply.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 04:09:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714201#M115203</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-27T04:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714296#M115207</link>
      <description>&lt;P&gt;Do you use code written by&amp;nbsp;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; ?&lt;BR /&gt;He will stop sleeping and write you an answer. If you're having trouble waiting, &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;try changing&lt;/P&gt;&lt;P&gt;"Dim propertyValue2 As Date = Today.Date"&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim DimValue2 As Date = " "&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 05:53:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714296#M115207</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-08-27T05:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714312#M115210</link>
      <description>&lt;P&gt;Hi Rob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for hurry, he is sleeping and will read by tomorrow, so do i.&lt;/P&gt;&lt;P&gt;Anyway i tried with your suggestion and it looks like the string did not match,&lt;/P&gt;&lt;P&gt;See Attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You very much&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error String.JPG" style="width: 529px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811893iFD9E5B16F35DD274/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error String.JPG" alt="Error String.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 06:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714312#M115210</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-27T06:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714318#M115211</link>
      <description>&lt;P&gt;Forgive me&amp;nbsp; &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; because I was a bad student, giving the wrong advice. &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@854E250C86B620748690A6505ABE3977/emoticons/1f641.png" alt=":slightly_frowning_face:" title=":slightly_frowning_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 06:16:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714318#M115211</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-08-27T06:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714327#M115212</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7643238"&gt;@didin.suryadi6JREK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I can get this to work is to create the property with a date, then make it Null. Like this &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyName1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Rev Desc"&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyValue1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)


&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;prop&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyName1&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;propertyName1&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyName2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Rev Date"&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyValue2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Nullable&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Date&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;Date&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Now&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;NullDate&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Nullable&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Date&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;prop&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyName2&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyValue2&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;propertyName2&lt;/SPAN&gt;)
	&lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;propertyName2&lt;/SPAN&gt;) = &lt;SPAN style="color: #800000;"&gt;NullDate&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyName3&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Salvagnini Proficient"&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;propertyValue3&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;


&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;prop&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyName3&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;propertyValue3&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;propertyName3&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Aug 2020 06:22:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714327#M115212</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-08-27T06:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic for Custom properties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714338#M115213</link>
      <description>&lt;P&gt;Waw,,.. Its working now,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You very much sir, have a good day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;God bless you&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="finally works.JPG" style="width: 450px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/811898i9331146EAF65247E/image-size/large?v=v2&amp;amp;px=999" role="button" title="finally works.JPG" alt="finally works.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 06:32:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-for-custom-properties/m-p/9714338#M115213</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2020-08-27T06:32:47Z</dc:date>
    </item>
  </channel>
</rss>

