AutoCAD Electrical General

Reply
Contributor
Nicolas.L
Posts: 13
Registered: ‎12-05-2012
Message 1 of 2 (253 Views)
Accepted Solution

[VBA] Creating a new drawing using a .dwt model

253 Views, 1 Replies
12-11-2012 12:23 AM

Hello again,

 

I would like to know if someone know how it is possible to create in ABA a new drawing using a .dwt existing ?

 

Regards

 

Nicolas

Contributor
Nicolas.L
Posts: 13
Registered: ‎12-05-2012
Message 2 of 2 (245 Views)

Re: [VBA] Creating a new drawing using a .dwt model

12-11-2012 06:41 AM in reply to: Nicolas.L

The solution is to use use the following code:

 

Set AcadDoc = AcadObj.Application.Documents.Add("C:\Path_of_the_gab\Name_of_the_gab.dwt")

 

Regards

 

Nicolas

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Ask the Community