Message 1 of 1
AutoCAD Electrical Get Project Database path

Not applicable
05-30-2018
08:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Perhaps someone will help the following:
If you connect AcePageManMgd.dll (standard path C:\Program Files\Autodesk\AutoCADхххх\Acade\) to the project in the Visual Studio environment, you can include Autodesk.Electrical.Project namespace.
This will give you access to the AutoCAD Electrical project properties, among which, in this case, the following method will be useful:
Dim acActiveProject as Project = Autodesk.Electrical.Project.ProjectManager.GetInstance().GetActiveProject() Dim strDbPath = acActiveProject.GetDbFullPath()