<?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: Ilogic rule for exporting DWFx that includes iProperties in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-for-exporting-dwfx-that-includes-iproperties/m-p/13172686#M4050</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12626711"&gt;@MikeOG&lt;/a&gt;.&amp;nbsp; I honestly have never used that exported file type, so I am not super familiar with it, but I may be able to help some with the export code.&amp;nbsp; There is a way to determine what the 'Options' are when using the Inventor API &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=TranslatorAddIn_SaveCopyAs" target="_blank" rel="noopener"&gt;TranslatorAddIn.SaveCopyAs&lt;/A&gt; method, but its not super detailed.&amp;nbsp; Plus, the options may change, depending on the type of Document you are trying to export from.&amp;nbsp; As far as I can tell at the moment, using this technique from Inventor 2024.3.1, we do not have granular control over which specific iProperties will get included when exporting an IDW type file out to the DWFx file format.&amp;nbsp; It definitely seems possible manually, on the Properties tab of the Options dialog.&amp;nbsp; It does seem like we can toggle that one control between "Only Properties with values" to the alternative.&amp;nbsp; But I do not see anything in the 'report' about which specific/individual properties should be included when it is set to the alternative option.&amp;nbsp; Maybe this was updated in 2025, not sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyways, as far as I can tell, below are all the option names, their value types, and their current values (on my system at the moment)...values can change though.&amp;nbsp; Also, zero and one are often used instead of Boolean (0 = False / 1 = True).&amp;nbsp; Attached is a text file containing the list of options I found with my 'snooping' tool, because its a pretty long list.&amp;nbsp; I also attached a text file containing the custom iLogic rule I used for snooping into those options, if you are interested.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp; I should also mention that sometimes the 'Value' just looks like an Integer, with an odd looking value (not just 0 or 1), and not a 'measurement' value.&amp;nbsp; Those sometimes represent the numerical value of an 'Enum' variation.&amp;nbsp; There are a couple of those in this report.&lt;/P&gt;
&lt;P&gt;One is referring to the&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DWFPublishModeEnum" target="_blank" rel="noopener"&gt;DWFPublishModeEnum&lt;/A&gt;.&amp;nbsp; And I think one of the others is referring to the&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=AccuracyEnum" target="_blank" rel="noopener"&gt;AccuracyEnum&lt;/A&gt;.&amp;nbsp; If you look at those two online help pages, you will find matching numerical values to what you see in the report, and can cross-reference that numerical value with a 'name' of that Enum variation, to see what it means.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2024 16:04:17 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2024-11-25T16:04:17Z</dc:date>
    <item>
      <title>Ilogic rule for exporting DWFx that includes iProperties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-for-exporting-dwfx-that-includes-iproperties/m-p/13171098#M4049</link>
      <description>&lt;P&gt;Hi guys, we are looking for some ilogic code that exports a DWFx file that includes the meta data / iProperties. Does anyone know if its possible? We know its possible with DWG files - when viewing a DWG file in Vault it has all the fields filled out (Description, subject, designer etc.). Anyone help would be greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;DWG in Vault - This is how we want the DWFx files to look like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MikeOG_0-1732482774075.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1437959i9E14119A122E7A43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MikeOG_0-1732482774075.png" alt="MikeOG_0-1732482774075.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DWFx file in Vault - No Meta Data:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MikeOG_1-1732482801646.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1437960i3410FA04A630779A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MikeOG_1-1732482801646.png" alt="MikeOG_1-1732482801646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is what I have so far to export the DWFx from jLane in this &lt;A href="https://forums.autodesk.com/t5/inventor-forum/publish-dwfx-to-include-custom-iproperties/m-p/6066593#M583375" target="_blank" rel="noopener"&gt;post&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;i&lt;/SPAN&gt; = &lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt; (&lt;SPAN&gt;"Launch the viewer now?"&lt;/SPAN&gt;, &lt;SPAN&gt;"Title"&lt;/SPAN&gt;,&lt;SPAN&gt;MessageBoxButtons&lt;/SPAN&gt;.&lt;SPAN&gt;YesNo&lt;/SPAN&gt;)
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;i&lt;/SPAN&gt; = &lt;SPAN&gt;vbYes&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt; : &lt;SPAN&gt;launchviewer&lt;/SPAN&gt; = 1 : &lt;SPAN&gt;Else&lt;/SPAN&gt; : &lt;SPAN&gt;launchviewer&lt;/SPAN&gt; = 0 : &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
 
 
&lt;SPAN&gt;path_and_name&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PathAndFileName&lt;/SPAN&gt; (&lt;SPAN&gt;False&lt;/SPAN&gt;) &lt;SPAN&gt;' without extension&lt;/SPAN&gt;
&lt;SPAN&gt;DWFAddIn&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ApplicationAddIns&lt;/SPAN&gt;.&lt;SPAN&gt;ItemById&lt;/SPAN&gt;(&lt;SPAN&gt;"{0AC6FD95-2F4D-42CE-8BE0-8AEA580399E4}"&lt;/SPAN&gt;)
&lt;SPAN&gt;oDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;oContext&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateTranslationContext&lt;/SPAN&gt;
&lt;SPAN&gt;oContext&lt;/SPAN&gt;.&lt;SPAN&gt;Type&lt;/SPAN&gt; = &lt;SPAN&gt;IOMechanismEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kFileBrowseIOMechanism&lt;/SPAN&gt;
&lt;SPAN&gt;oOptions&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateNameValueMap&lt;/SPAN&gt;
&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDataMedium&lt;/SPAN&gt;
 
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;DWFAddIn&lt;/SPAN&gt;.&lt;SPAN&gt;HasSaveCopyAsOptions&lt;/SPAN&gt; (&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;, &lt;SPAN&gt;oContext&lt;/SPAN&gt;, &lt;SPAN&gt;oOptions&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Launch_Viewer"&lt;/SPAN&gt;) = &lt;SPAN&gt;launchviewer&lt;/SPAN&gt;
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Publish_All_Component_Props"&lt;/SPAN&gt;) = 1
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt; (&lt;SPAN&gt;"Publish_All_Phvsical Props"&lt;/SPAN&gt;) = 1
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Publish_All_User_Defined_Properties_Props"&lt;/SPAN&gt;) = 1
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Publish_All_Summary_Information_Props"&lt;/SPAN&gt;) = 1
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Publish_All_Document_Summary_Information_Props"&lt;/SPAN&gt;) = 1
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Publish_All_Design_Tracking_Properties_Props"&lt;/SPAN&gt;) = 1
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Password"&lt;/SPAN&gt;) = 0
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Publish_Mode"&lt;/SPAN&gt;) = &lt;SPAN&gt;DWFPublishModeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kCompleteDWFPublish&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
 
&lt;SPAN&gt;'Set the destination file name&lt;/SPAN&gt;
&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;.&lt;SPAN&gt;FileName&lt;/SPAN&gt; = &lt;SPAN&gt;path_and_name&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;".dwfx"&lt;/SPAN&gt;
 
&lt;SPAN&gt;'Publish document.&lt;/SPAN&gt;
&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;DWFAddIn&lt;/SPAN&gt;.&lt;SPAN&gt;SaveCopyAs&lt;/SPAN&gt; (&lt;SPAN&gt;oDocument&lt;/SPAN&gt;, &lt;SPAN&gt;oContext&lt;/SPAN&gt;, &lt;SPAN&gt;oOptions&lt;/SPAN&gt;, &lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;)
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;launchviewer&lt;/SPAN&gt; = 1 &lt;SPAN&gt;Then&lt;/SPAN&gt; &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Launch&lt;/SPAN&gt;(&lt;SPAN&gt;path_and_name&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;".dwfx"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2024 21:16:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-for-exporting-dwfx-that-includes-iproperties/m-p/13171098#M4049</guid>
      <dc:creator>MikeOG</dc:creator>
      <dc:date>2024-11-24T21:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic rule for exporting DWFx that includes iProperties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-for-exporting-dwfx-that-includes-iproperties/m-p/13172686#M4050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12626711"&gt;@MikeOG&lt;/a&gt;.&amp;nbsp; I honestly have never used that exported file type, so I am not super familiar with it, but I may be able to help some with the export code.&amp;nbsp; There is a way to determine what the 'Options' are when using the Inventor API &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=TranslatorAddIn_SaveCopyAs" target="_blank" rel="noopener"&gt;TranslatorAddIn.SaveCopyAs&lt;/A&gt; method, but its not super detailed.&amp;nbsp; Plus, the options may change, depending on the type of Document you are trying to export from.&amp;nbsp; As far as I can tell at the moment, using this technique from Inventor 2024.3.1, we do not have granular control over which specific iProperties will get included when exporting an IDW type file out to the DWFx file format.&amp;nbsp; It definitely seems possible manually, on the Properties tab of the Options dialog.&amp;nbsp; It does seem like we can toggle that one control between "Only Properties with values" to the alternative.&amp;nbsp; But I do not see anything in the 'report' about which specific/individual properties should be included when it is set to the alternative option.&amp;nbsp; Maybe this was updated in 2025, not sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyways, as far as I can tell, below are all the option names, their value types, and their current values (on my system at the moment)...values can change though.&amp;nbsp; Also, zero and one are often used instead of Boolean (0 = False / 1 = True).&amp;nbsp; Attached is a text file containing the list of options I found with my 'snooping' tool, because its a pretty long list.&amp;nbsp; I also attached a text file containing the custom iLogic rule I used for snooping into those options, if you are interested.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp; I should also mention that sometimes the 'Value' just looks like an Integer, with an odd looking value (not just 0 or 1), and not a 'measurement' value.&amp;nbsp; Those sometimes represent the numerical value of an 'Enum' variation.&amp;nbsp; There are a couple of those in this report.&lt;/P&gt;
&lt;P&gt;One is referring to the&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DWFPublishModeEnum" target="_blank" rel="noopener"&gt;DWFPublishModeEnum&lt;/A&gt;.&amp;nbsp; And I think one of the others is referring to the&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=AccuracyEnum" target="_blank" rel="noopener"&gt;AccuracyEnum&lt;/A&gt;.&amp;nbsp; If you look at those two online help pages, you will find matching numerical values to what you see in the report, and can cross-reference that numerical value with a 'name' of that Enum variation, to see what it means.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 16:04:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-for-exporting-dwfx-that-includes-iproperties/m-p/13172686#M4050</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-11-25T16:04:17Z</dc:date>
    </item>
  </channel>
</rss>

