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
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.
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.
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.
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.
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.
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.
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.