โ† All ACP Flashcard Decks

iLogic and Automation Flashcards

7 cards from real ACP practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 iLogic and Automation flashcards as text
  1. Which statement runs another rule named UpdateSize in the same document?

    Answer: iLogicVb.RunRule("UpdateSize")

    iLogicVb.RunRule runs an internal rule by name, and RunExternalRule is for external rule files.

  2. Which statement reads cell B4 of Sheet1 in sizes.xlsx?

    Answer: GoExcel.CellValue("sizes.xlsx", "Sheet1", "B4")

    GoExcel.CellValue takes the file, the sheet, and the cell address and returns that cell's value.

  3. How can two different rules pass a value between them while Inventor stays open, without creating a parameter?

    Answer: SharedVariable.Value("name")

    Shared variables are held in memory for the Inventor session and any rule can read or write them.

  4. Which statement swaps the occurrence Bracket:1 for BracketLong.ipt and replaces every instance of it?

    Answer: Component.Replace("Bracket:1", "BracketLong.ipt", True)

    The third argument of Component.Replace is replaceAll, so True replaces every instance of the same component.

  5. In the Parameters dialog, what does checking Export Parameter do?

    Answer: Creates a custom iProperty that tracks the parameter's value

    An exported parameter shows up as a custom iProperty, which BOMs, parts lists, and title blocks can use.

  6. Which statement sets a part's material to Aluminum 6061 from a rule?

    Answer: iProperties.Material = "Aluminum 6061"

    iProperties.Material reads or sets the part material, using a name from the active material library.

  7. An assembly has many component patterns and constraints placed by hand. Which iLogic tool writes rule code that recreates those placements?

    Answer: Capture Current State

    Capture Current State writes Components.Add and constraint code that matches the current assembly, which you can then edit to make the layout driven by rules.