โ† All ACE Flashcard Decks

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
  1. In AutoCAD .NET API, what is the purpose of calling transaction.GetObject() with OpenMode.ForWrite?

    Answer: It opens an existing database object for modification within the transaction

    OpenMode.ForWrite opens the database-resident object in write mode so properties and geometry can be modified within the current transaction.

  2. Which Autodesk Forge (APS) service is used to convert CAD files (DWG, RVT, etc.) into a viewable SVF/OBJ format?

    Answer: Model Derivative API

    The Model Derivative API translates source design files into derivative formats like SVF2 that the APS Viewer can display in a browser.

  3. When building a Revit add-in manifest (.addin file), which XML element specifies the full .NET class name that implements IExternalCommand?

    Answer:

    The element in the .addin manifest provides the namespace-qualified class name that Revit uses to instantiate the external command via reflection.

  4. In AutoCAD's LISP API, what does the function (ssget) return when no selection is made by the user?

    Answer: nil

    (ssget) returns nil when the user presses Escape or makes no selection, which LISP code must check before attempting to process the result.

  5. What is the primary advantage of using Autodesk's 'Design Automation API' over running scripts on a local machine?

    Answer: It enables serverless, scalable cloud execution of AutoCAD/Revit/Inventor logic without client-side software

    Design Automation API runs Autodesk engine logic in the cloud as a service, eliminating the need for installed software on end-user machines and enabling batch scalability.

  6. In the Revit API, what does the ExternalEvent class enable in the context of modeless dialogs?

    Answer: It provides a safe mechanism for non-API threads to request Revit API calls on the main thread

    ExternalEvent and IExternalEventHandler allow background threads (such as those driving modeless dialogs) to safely marshal Revit API operations back onto Revit's main thread.

  7. Which method in the AutoCAD .NET API is used to add a new layer to the current drawing's layer table?

    Answer: LayerTable.Add(layerRecord)

    After opening the LayerTable ForWrite and creating a LayerTableRecord, you call LayerTable.Add(record) to insert the new layer into the database.