← 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. Which Autodesk API namespace is the primary entry point for accessing AutoCAD drawing database objects in a .NET plugin?

    Answer: Autodesk.AutoCAD.DatabaseServices

    Autodesk.AutoCAD.DatabaseServices contains the core classes like Database, BlockTable, and Entity used to read and write drawing data.

  2. When developing a Revit plugin, what class must every external command implement?

    Answer: IExternalCommand

    IExternalCommand is the interface that defines the Execute method required for all Revit external commands.

  3. In AutoCAD .NET API development, what is the correct way to start a transaction for modifying database objects?

    Answer: db.TransactionManager.StartTransaction()

    The TransactionManager property on the Database object provides the StartTransaction() method to begin a new transaction.

  4. What is the purpose of the PackageContents.xml file in an Autodesk Application Package (.appx)?

    Answer: It defines the package metadata and component registration for the App Store

    PackageContents.xml describes the package structure, supported products, versions, and which components to load, enabling Autodesk's plug-in loader to register the application.

  5. In Forge (now Autodesk Platform Services) Design Automation, what is a 'workitem'?

    Answer: A single execution request that runs an Activity against input files

    A workitem is an execution instance that references an Activity and provides specific input/output parameters for a single automated run.

  6. Which Revit API method is used to filter elements in the active document by a specific built-in category?

    Answer: new FilteredElementCollector(doc).OfCategory(BuiltInCategory)

    FilteredElementCollector combined with .OfCategory() applies a quick filter that efficiently retrieves elements of the specified built-in category.

  7. What does the IFailuresPreprocessor interface allow a Revit plugin to do?

    Answer: Intercept and handle failure messages before they are shown to the user

    IFailuresPreprocessor lets plugins programmatically inspect, suppress, or resolve failure messages during a transaction commit before the user sees dialog boxes.