<?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 Possibility to hide iLogic code from end users? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4435983#M128212</link>
    <description>&lt;P&gt;I recently created some iLogic based components. I wonder how difficult it is to protect the iLogic code, similar as VBA code which can be password protected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason being:&lt;/P&gt;&lt;P&gt;1. Of course, to hide &amp;amp; protect the creator's modeling logic;&lt;/P&gt;&lt;P&gt;2. To avoid the relation between parameters being messed up by the end user unintensionally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did have the opportunity to raise the question during the Portathon event and the answer was that the protection not directly available, though the workaround could be mixing with some Inventor API coding in .NET.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this might defeat one of the benefits of iLogic, simple and ease to use, gentlr learning curve, especially for users with VBA experience. .NET might not be so easy for a lot of engineers from mechanical or other disciplines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are some of my ideas for discussion:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1 Disable the "Edit" button for iLogic components, including rules, forms, etc.;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Put all code that are to be protected in an external file, and then make that file unreadable (password protected, or other protection) to un-intended user, however, readable to those who have proper access privelege.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;It seems to me that it might be easier to implement by Autodesk Inventor team.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2013 15:14:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-09-18T15:14:54Z</dc:date>
    <item>
      <title>Possibility to hide iLogic code from end users?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4435983#M128212</link>
      <description>&lt;P&gt;I recently created some iLogic based components. I wonder how difficult it is to protect the iLogic code, similar as VBA code which can be password protected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason being:&lt;/P&gt;&lt;P&gt;1. Of course, to hide &amp;amp; protect the creator's modeling logic;&lt;/P&gt;&lt;P&gt;2. To avoid the relation between parameters being messed up by the end user unintensionally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did have the opportunity to raise the question during the Portathon event and the answer was that the protection not directly available, though the workaround could be mixing with some Inventor API coding in .NET.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this might defeat one of the benefits of iLogic, simple and ease to use, gentlr learning curve, especially for users with VBA experience. .NET might not be so easy for a lot of engineers from mechanical or other disciplines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are some of my ideas for discussion:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1 Disable the "Edit" button for iLogic components, including rules, forms, etc.;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Put all code that are to be protected in an external file, and then make that file unreadable (password protected, or other protection) to un-intended user, however, readable to those who have proper access privelege.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;It seems to me that it might be easier to implement by Autodesk Inventor team.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2013 15:14:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4435983#M128212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-18T15:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to hide iLogic code from end users?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4439109#M128213</link>
      <description>&lt;P&gt;There's no way to do it with the way Inventor and iLogic work at the moment. Your best bet is to use external rules, these can be stored at text files, you could try placing them on a network drive and marking them as read only, this should protect you from a casual user accidentally editing the code. It wont protect you from someone being able to see your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great if you could complile iLogic and hide the code&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 11:05:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4439109#M128213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-19T11:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to hide iLogic code from end users?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4440813#M128214</link>
      <description>&lt;P&gt;There's no way to make the code runnable but not visible. But if the user can't access the file Inventor won't be able to either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However if you want to just avoid have them inadvertantly modifying any rules then use external rules and make them readonly. This is typically the route I use. On users machines all rules are readonly.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 20:37:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4440813#M128214</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2013-09-19T20:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to hide iLogic code from end users?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4440951#M128215</link>
      <description>&lt;P&gt;Thanks for both&amp;nbsp;&lt;SPAN&gt;&lt;A target="_self" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/659919"&gt;oomclintmidas&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN&gt;&lt;A target="_self" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/82872"&gt;rjay75&lt;/A&gt;&amp;nbsp;for your confirmation and suggestion on the external readonly code file. I hope Inventor can go a bit further in the future.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 21:39:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4440951#M128215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-19T21:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to hide iLogic code from end users?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4578487#M128216</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/82872"&gt;@rjay75&lt;/a&gt; wrote:&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;On users machines all rules are readonly.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What do you mean by that? On every computer I have to Add External Rule in the same way I did on a first computer. On each computeri have external disk Z:\ every computer has right to read and write.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some basic rule for adding external rule that I don't know?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 10:15:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4578487#M128216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-31T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to hide iLogic code from end users?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4579339#M128217</link>
      <description>&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;If the rules are centrally stored on a network drive mark the files to readonly and keep a seperate copy elsewhere that you edit and modify. Then copy these to the shared network location for deployment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But, yes, rules will have to be added to each computer manually. Once added if they are updated in on the network drive they don't have to re added to the machines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 13:02:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/possibility-to-hide-ilogic-code-from-end-users/m-p/4579339#M128217</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2013-10-31T13:02:46Z</dc:date>
    </item>
  </channel>
</rss>

