System snippet categories reference

Parameters

Work with part and assembly parameters. Get or set single and multiple values, Excel spreadsheet values, or xml read/write parameters.

Features

Turn a feature on or off, change the appearance, or work with threads.

Components

Suppress or activate (unsuppress) a component, replace one component with another component or an iPart, change the appearance of a component, or find a subcomponent.

iProperties

Access several different iProperties of a part, assembly, or component.

Excel Data Links

Read data from and store data to an Excel spreadsheet. The spreadsheet can be an external file or embedded in the Inventor model.

iParts

Manipulate iParts.

iFeatures

Manipulate table-driven iFeatures.

Constraints

Manipulate assembly model constraints.

Measure

Measure distances, angles, areas, perimeters, and extents.

Work Features

Provide access to Inventor work features.

MessageBox

Display messages or quickly construct a simple UI to obtain user input while a rule is running.

Document

Obtain path information about the current document, save the document, update the document, or open a new document.

Run Other

Run other iLogic rules, rules in other components, external rules, Autodesk Inventor macros, and rules defined in VB.NET.

BOM

Access Autodesk Inventor Bill of Material functionality.

Math

Access several mathematical routines and functions. Refer to the VB.NET documentation for complete details.

You can also access math snippets by right-clicking from within the rule text area and selecting Math Functions.

Strings

Access several string routines. Refer to the VB.NET documentation for complete details.

Variables

Declare and manipulate variables. Create shared variables to use between rules.

This category also includes snippets for “pure” VB.NET functions that allow you to use local (temporary) VB.NET variables in rules. Refer to the VB.NET documentation for complete details.

Material Properties

Access various material properties stored on the component definition in the Inventor API model.

Sheet Metal

Manipulate sheet metal models from iLogic rules.

Drawing

Reflect changes to the model in the drawing sheets and views.

Advanced Drawing API

Can be used to take advantage of API functions in drawings.

Advanced API

Access the Autodesk Inventor API.