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
Where is an external iLogic rule stored?
Answer: As a separate file in a folder listed in iLogic Configuration
External rules are standalone files (e.g., .iLogicVb) saved in directories defined in iLogic Configuration, so many documents can share them.
Which iLogic statement suppresses a part feature named Extrusion2?
Answer: Feature.IsActive("Extrusion2") = False
Feature.IsActive set to False suppresses the named feature, and setting it to True unsuppresses it.
A rule changes several parameters but the model does not update until the rule finishes. Which call updates the model right away?
Answer: InventorVb.DocumentUpdate()
InventorVb.DocumentUpdate() pushes parameter changes and rebuilds the model in the middle of the rule.
What does setting Parameter.Quiet = True do in a rule?
Answer: Stops error messages when a referenced parameter is missing
Parameter.Quiet stops the warning that normally appears when a rule references a parameter that does not exist in the document.
Which statement reads the Part Number iProperty of the current document?
Answer: iProperties.Value("Project", "Part Number")
Part Number is on the Project tab, so it is read with iProperties.Value("Project", "Part Number").
In the rule editor, which option keeps a rule from running when one of its referenced parameters changes?
Answer: Don't Run Automatically
With Don't Run Automatically checked, the rule runs only when it is triggered manually or by an event trigger, not when its parameters change.
Which programming language is iLogic rule code based on?
Answer: VB.NET
iLogic rules use VB.NET syntax and can call the Inventor API as well as .NET libraries.