Q. Using AutoCAD Architecture, we want to take information about the Project properties (Name, Number, Description). All the examples I can find online are to create a new project file using the API. I want to read the Project properties for the currently open Project in Architecture through the API. Is there a simple way to do this?
A. You can use Autodesk.Aec.ProjectConfiguration class. It allows you to access information about the project, such as the name, description, and number. Below is a simple code snippet I added to the API sample AecProjectBaseSampleMgd:
For your convenience, I have attached a modified version of the sample: Download AecProjectBaseSampleMgd
To use this class, you will need to reference AecProjectBaseMgd.dll
Attached was built with ACA 2016, using .NET 4.5