AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Nicolas.L
727 Views, 1 Reply

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

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

1 REPLY 1
Message 2 of 2
Nicolas.L
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost