Plugin Development & Customization Flashcards
7 cards from real ACE practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Plugin Development & Customization flashcards as text
In Autodesk's ObjectARX, what is the purpose of the rxInit() function in a custom AcRxObject subclass?
Answer: It registers the class descriptor in ARX's runtime type system (RTTI)
rxInit() sets up the AcRxClass descriptor that ObjectARX uses for runtime type identification, casting, and protocol extension lookups.
When using the APS Viewer SDK, which event should you listen for to know that a model has finished loading and geometry is ready for queries?
Answer: Autodesk.Viewing.GEOMETRY_LOADED_EVENT
GEOMETRY_LOADED_EVENT fires when the model's 3D geometry has been fully loaded into the viewer and is available for programmatic queries.
In Inventor's API, what is the correct object hierarchy to access a sketch in a part document?
Answer: PartDocument → ComponentDefinition → Sketches → PlanarSketch
In Inventor's API, sketches are accessed through PartDocument.ComponentDefinition.Sketches, which returns the collection of PlanarSketch objects.
What is the significance of the 'ClientId' (GUID) element in a Revit .addin manifest file?
Answer: It uniquely identifies the add-in to prevent conflicts with other add-ins and enable keyboard shortcut assignment
The ClientId GUID uniquely identifies the add-in within Revit, preventing conflicts with other add-ins and enabling features like keyboard shortcut customization tied to the specific command.
In the APS (Forge) 3-legged OAuth flow, what does the 'authorization code' received at the callback URL need to be exchanged for?
Answer: A short-lived access token and optionally a refresh token
The authorization code is exchanged via a POST to the token endpoint for a short-lived access token (and refresh token when offline_access scope is requested).
Which AutoCAD API feature allows a plugin to define a custom object that persists in a DWG file and can be read by other users who do not have the plugin installed?
Answer: Proxy graphics via AcDbProxyObject/AcDbProxyEntity
Proxy objects allow custom ObjectARX entities to be saved in DWG files; users without the ARX application loaded see a proxy representation with stored graphics.
When developing a plugin using the Autodesk Platform Services Design Automation API, what is an 'Activity'?
Answer: A reusable definition of a task that specifies the AppBundle, engine, and input/output parameters
An Activity defines a reusable task template that specifies which AppBundle (plugin) to run, the Autodesk engine version, and the expected input/output parameters.