Message 1 of 2
Creating new AcadE project from code (.Net)
Not applicable
05-18-2010
06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
I'm currently working on a custom file importer for AutoCAD Electrical (2011 if it matters). I need to put the imported drawings (dwg-files) in a new project, but can't seem to find any way to create a project through the .Net API. I've found a way to manually add the lines to a project-file, and through the command c:wd_makeproj_current I can even load the new project. Is there a better (more .Net) way of creating and loading a project?
I'm also trying to save my project to the correct location (Usually My Documents\AcadE\Projects). Is there a way of getting the location of this folder through the .Net API?
Kind regards
Erik Livermore
I'm currently working on a custom file importer for AutoCAD Electrical (2011 if it matters). I need to put the imported drawings (dwg-files) in a new project, but can't seem to find any way to create a project through the .Net API. I've found a way to manually add the lines to a project-file, and through the command c:wd_makeproj_current I can even load the new project. Is there a better (more .Net) way of creating and loading a project?
I'm also trying to save my project to the correct location (Usually My Documents\AcadE\Projects). Is there a way of getting the location of this folder through the .Net API?
Kind regards
Erik Livermore