iLogic Tools for the Rest of Us31 Dec, 2013 By: Walt Jaquith
IMAGINiT Tricks Tutorial: Autodesk Inventor’s premier automation tool offers value for nonprogrammers too.
Once a new form is created (right-click in the Form tab of the iLogic browser), the Edit Form dialog box is displayed. There’s a lot to do here, but I’ll focus on creating a slider to control a part’s parameter. The parameters are listed in the section on the upper left. Drag the parameter into the Design Tree on the right. Single-value parameters come in as text boxes by default. Multi-value parameters come in as drop-down boxes, and cannot be changed to sliders. Selecting the text box in the Design Tree activates its properties in the area below. In the Behavior section, change the “Edit Control Type” setting to “Slider.”
Configuring the Edit Form dialog box to add a slider to the form. This slider will control the “M_Dia” parameter.Click image to enlarge.
Now you have a slider control for your parameter, and the only thing left is to set the limits and step size. Make those changes in the Slider Properties section, then close the Form Editor. That’s all there is to it.
When you pull up the form and manipulate the slider, your parameter will change, updating the component. You can assign multiple parameters to different sliders to add more control. Whether associated with iLogic configurations or simply as an easy way to adjust your parameters, form tool sliders are quick, convenient, and fun to use.
Copy an Entire Project Using iLogic Design Copy
iLogic has given us yet another copy tool, bringing the total between Inventor and Vault to five. This latest addition can handle projects with iLogic rules, but works nicely with any Inventor dataset. Each of the different methods has its own strengths and weaknesses, and this one is no exception.
iLogic Design Copy is accessed from a session of Inventor with no files open. The tool is available from the iLogic panel on the Tools tab. The interface is very clean; choosing a top-level file such as a main assembly drawing will search for related files, selecting them automatically. There is no “where used” search capability currently, but additional files can be checked manually. Entire folders can also be selected.
The next step is to choose the desired options.
The iLogic Design Copy Settings dialog.Click image to enlarge.
You can specify a folder in which to place the files, but unlike Pack-N-Go, you cannot opt to flatten the folder structure. A prefix or suffix can be added to the copied files, but they cannot be completely renamed, as with Design Assistant. Still, if your needs don’t require such things, this is a very fast and convenient tool.
iLogic is here to stay, and that’s good news for all Inventor users whether they write code or not. Just this early generation of supporting functionality has given a boost to the capability of the entire package. I like where these new tools are taking us, and look forward to seeing how they develop in coming releases.
In her easy-to-follow, friendly style, long-time Cadalyst contributing editor Lynn Allen guides you through a new feature or time-saving trick in every episode of her popular AutoCAD Video Tips. Subscribe to the free Cadalyst Video Picks newsletter, and we'll notify you every time a new video tip is published. All exclusively from Cadalyst!