Creating Asset Variants

The following procedure describes the steps necessary to create an asset with variants. The asset example used is a simple rectangle that is 600 mm long, 400 mm wide, and 100 mm thick. Four asset variants are defined that produce lengths of 600 mm, 800 mm, 1000 mm, and 1200 mm.

The basic procedure consists of the following steps:

Create the asset

  1. Start by creating the part or assembly to be used as the asset. There are two methods that can be used.
  2. If you have an existing part or assembly, click Factory tab Factory Launch panel Import Model from the Create Asset drop-down menu. Open the existing part or assembly.
  3. If you are starting from scratch, click Factory tab Factory Launch panel Model as Part from the Create Asset drop-down menu. Enter the Sketch environment and build the asset.

If you wish to follow along with this procedure, use step 3 above. Be sure to use the metric Standard (mm) part template. If your template settings (as defined in the Factory Options dialog box) specify English units, then use the New command from the Inventor Application menu and select the Standard (mm) part template.

  1. Once the metric template is open, create a 2D sketch.
  2. Select the XY plane on the Origin planes.
  3. Use the Two Point Center Rectangle command to create the rectangle. This command option ensures that the rectangle is centered on, and constrained to, the XY axes.
  4. Select the sketch origin as the center point and specify the length as 600 mm and the width as 400 mm.
  5. Finish the 2D sketch.
  6. Next, extrude the rectangle 100 mm in the positive Z direction.
  7. Save the part with the name metric variation.

Note: Do not be concerned if your part appears darker than that shown. A different material was selected for this illustration.

Define the parameters

Once the part is complete, one or more User Parameters must be defined.

  1. On the ribbon, click Factory tab Parameters panel Parameters .
  2. The Parameters dialog box is displayed.
  3. Observe that the length, width, and thickness dimensions are represented by the d0, d1, and d2 Model Parameters, respectively.
  4. You must now create a User Parameter. Click the Add Numeric button at the lower-left of the dialog box.
  5. Enter the name Length for the user parameter.
  6. Click inside the Unit/Type field, and then click OK to accept mm as the Unit Specification in the Unit Type dialog box.
  7. Enter 600 mm in the Equation field.
  8. In the d0 Equation field, replace 600 mm with Length.
  9. Finally, activate the Key parameter check box at the lower-right of the dialog box. This step is very important as it is this parameter that will drive the asset variants.
  10. When you have finished, your dialog box should appear as shown.
  11. Click Done to close the Parameters dialog box.



Define the asset variants

Do the following to define asset variants:

  1. Click Create Asset tab Factory Assets panel Asset Builder .
  2. The Key Parameters dialog box displays showing the Length key parameter previously defined. The check box to the right of the parameter name should be checked.



  3. Click Asset Builder tab Author panel Landing Surface .
  4. Select the bottom surface of the rectangle to specify the landing surface. Click OK to close the Landing Surface dialog box.
    Note: At this point in the asset building process, you can optionally specify one or more insertion points, define a connector, create and place a descriptor, and specify asset properties. These steps are omitted for this example.
  5. Next, click Asset Builder tab Author panel Asset Variants .
  6. The Asset Variants dialog box is displayed.
  7. Select Length [600 mm] from the Parameters list at the upper-left of the dialog box.
  8. Click the add button (>>) to add Length to the Columns list at the upper-right.
  9. Next, click the Add button to create the first variant in the table. The variant name appears as Variant_1 in the variant list and 600 mm appears in the Length column.
    Note: To remove a variant name from the table, click the Remove button .
  10. Highlight the name Variant_1 and rename it Length_600.
  11. Add three more variants and rename them Length_800, Length_1000, and Length_1200. Set their values in the Length column to 800 mm, 1000 mm, and 1200 mm, respectively.
  12. When complete, the Assets Variants dialog box should appear as shown.



  13. Click OK when you are finished defining the asset variants.

Publish the asset

  1. Before publishing the asset, save metric variation.
  2. On the ribbon, click Asset Builder tab Publish panel Publish Asset .
  3. The Publish Asset dialog box displays.
  4. Click the 2D Options tab and make sure that the Publish 2D Asset check box is enabled. This setting ensures that the asset gets published for use in AutoCAD Factory.
    Note: The Publish 2D Asset check box can also be enabled and disabled on the Asset Builder tab in the Factory Options dialog box. By default, this setting is enabled.

  5. Next, select the General tab and click the User Assets folder. (The asset variant is published in this folder for both Inventor Factory and AutoCAD Factory.)



  6. Click the OK button to publish the asset and close the dialog box.
  7. The Publishing Asset…dialog appears with a progress meter as the asset is published. The dialog closes automatically when publishing is complete.
  8. On the ribbon, click Asset Builder tab Exit panel Finish Asset Builder .

Place the assets in Inventor Factory

  1. Begin a new factory layout using the Factory Layout (mm).iam template.

    If your template settings (as defined in the Factory Options dialog box) specify English units, then use the New command from the Inventor Application menu and select the Factory Layout (mm).iam template.

  2. In the Assets Browser, double-click to open the User Assets folder.
  3. The metric variation asset appears with an icon at the upper-left denoting that there are four variants of this asset.
  4. Right-click over metric variation to display the pop-up context menu. Observe the four defined variants in the Asset Variant submenu.



  5. Select Length_600 from the submenu and place the asset on the factory floor as you would any asset. Leave the rotation angle at 0 degrees.
  6. Repeat the procedure for the three remaining variants.
  7. After placing the four variants, the factory layout will appear similar to the following illustration.

As an experiment, begin a new metric drawing in AutoCAD Factory. Place each variant into the 2D factory layout using the same procedure as you would in a 3D layout. The illustration shows the asset variants as they appear in AutoCAD Factory.

Replacing an asset variant in the layout

Once an asset variant is placed in a layout (whether in AutoCAD Factory or Inventor Factory), it can easily be replaced with a different variation.

  1. Select (left-click) the asset variant in the AutoCAD or Inventor layout that you wish to replace.
  2. Next, right-click to display the pop-up context menu.
  3. Select Factory > Asset Variant, and then select the replacement variant from the submenu.



Using iLogic rules with Asset Variants

There are several things to consider when using iLogic rules with asset variant parameters.

  1. For an asset, place any iLogic rules ensuring valid parameter values (e.g. setting minimum or maximum values of a parameter) at the top of the list of iLogic rules in the iLogic browser. The order of the rules is important when parameter values get changed in Inventor Factory because multiple parameters are changed simultaneously and then the iLogic rules get run once.
  2. If an asset is using iLogic rules to define some parameter relationships, then the asset creator needs to consider carefully whether to use those parameters as variant parameters. If the iLogic rules are defining the parameter relationships, then the values of the parameters in question for any variant will be overridden by the iLogic rules.
  3. When creating an asset variant, make sure that the specified variant parameter values will actually be used in the asset and NOT overridden by iLogic rules. This verification can be achieved by manually changing the parameter values in the Parameters dialog box to match the variant parameter values and then making sure the specified values are not overridden.

As an example, assume that an asset is created with the variants specified as shown in the following image:

Now, change the specified variant parameters (Length, Width, and Height) of the asset to match the values specified for Variant_3 from the table above. (Keep in mind that some iLogic rules have been created governing parameter relationships as shown in the Parameters dialog box below). Changing the parameter values produces the following:

Notice that the Rule_ParametersProtect iLogic rule has overridden the specified variant parameters to produce the following discrepancies:

Parameter Specified value in Variant Actual value in Model
Length 180 in 180 in
Width 80 in 90 in
Height 90 in 113.55 in