<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=445056146107513&amp;ev=PageView&amp;noscript=1">

Reuse, Recycle, Reduce: How to Save Time When Coding

Mike Space

We all want to be more efficient, which often means automating some repetitive tasks. Using iLogic in Autodesk Inventor® is a great way to create tools to help with this.

To get the most out of your efforts, you want to reuse as much of code as possible. If something works well, recycle that code and reduce the time needed to create that new project.

The Autodesk Inventor iLogic rule editor has a large amount of code and functions available to you on the System tab:


These are excellent for most of the code you need to create.

The Custom tab lets you store the code you have created and quickly find it to reuse. Think of it as your personal code library.

How do you use it? That’s the easy part.

IF you have code you want to store as a "Custom Snippet," follow these steps:

  1. In the rule editor, select the text to capture—right-click and select "Capture Snippet" from the context menu.
  2. Fill in the "Edit Snippet" dialog. Provide your snippet a title, determine which folder to store your snippet. You can even provide a tooltip for your snippet.
  3. Click “OK” to save your snippet.
  4. The snippet is now stored for you to reuse whenever it is needed.