.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

template unit

1 REPLY 1
Reply
Message 1 of 2
M_Mogharabi
293 Views, 1 Reply

template unit

hi everyone.

 I specify a template when I open a new auotocad file and drawi  some shapes in autocad with c#.

the problem is the coordinates that I use to draw shapes does not match the template file and therefore the shapes are misplaced.(I am using centimeters for my code).

how can I change the coordinate of the template file to match my code coordinate?

thanks in advance.

Tags (1)
1 REPLY 1
Message 2 of 2
fieldguy
in reply to: M_Mogharabi

You have to create and use a new template.  The easiest way IMO is to open a drawing that is correct, delete all of the objects and purge (keep the existing layers and styles if you want) and SAVEAS with a DWT extension.

 

Templates are DWG files with a DWT extension.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost