Creating new AcadE project from code (.Net)

Creating new AcadE project from code (.Net)

Anonymous
Not applicable
576 Views
1 Reply
Message 1 of 2

Creating new AcadE project from code (.Net)

Anonymous
Not applicable
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
0 Likes
577 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hi, did you get an answer to your problem ? I also wanna create a new cad dwg in my c# plugin

0 Likes