Creating templates

Creating templates

ESchomberg
Collaborator Collaborator
4,257 Views
10 Replies
Message 1 of 11

Creating templates

ESchomberg
Collaborator
Collaborator

Dear sirs and ladies,

 

I was talking to a co-worker today that did cad on LDT years ago. The subject of templates came up, I told him I have one. I said I have all my layout tabs for different sheet sizes, layers, text fonts etc......I just open my previous drawing, delete the points, erase the drawing and start on my new drawing. He said that is how drawings get corrupted and began to explain that his boss use to set up a template for every scale and sheet size. He would then open a brand new drawing and import the template he needed. He was not sure because it was years back, but believed they imported their new templates into the new drawing via a block.

 

I have no idea really what he is talking about and how that would work????? Also, is he correct, in that my erasing my last drawing and starting a new one(saving as) the new drawing going to lead me to problems??? If so, can anyone help me to understand how to correctly set up templates if I am doing it wrong???

0 Likes
Accepted solutions (1)
4,258 Views
10 Replies
Replies (10)
Message 2 of 11

Jay_B
Mentor
Mentor
Accepted solution

ESchomberg wrote:Also, is he correct, in that my erasing my last drawing and starting a new one(saving as) the new drawing going to lead me to problems???

Yes that's correct, create a clean master.dwt file (only real difference between a dwt & dwg is the extension).

 

Then in OPTIONS on the files tab, specify your master dwt as the QNEW template.

 

QNEW.PNG

 

I'd also suggest reading the help for drawing templates and the QNEW variable.

 

Once the above is complete, simply launching cad creates the DRAWING1.dwg file.

 

By saving Drawing1.dwg Autocad is using the master.dwt as the template to create new drawing.

 

No need to copy or saveas.

 

Clicking on the NEW icon on the ribbon also automatically uses the master.dwt to create Drawing2.dwg,

Drawing3.dwg, or as many as you wish to create.

 

Using the Application Menu (blue A icon) > New > Drawing, allows you to browse to various dwt's if you wish

to create a new dwg from a dwt other than the master.dwt.

 

Hope that helps.

 

New.PNG

 

 

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 3 of 11

ESchomberg
Collaborator
Collaborator
Great...another rabbit hole...lol....thank you...will look into it
0 Likes
Message 4 of 11

Joe-Bouza
Mentor
Mentor

see "causes" line 4

 

https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/AutoCA...

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 11

ESchomberg
Collaborator
Collaborator
Hey Jay...under Joe's knowledge network post on resolving a damaged drawing I read one of the options was to open a blank drawing and insert the problem drawing then explode the block...

That reminded me of my friend saying that it seemed like they had templates created...they would open a new drawing each time and insert the template they needed.... I am wondering if that is an option to what you recommended.... I have not had time to look into what you recommended it may be simpler.

But, at any rate, either way I will have to start from scratch with a new template creating all my layers, linetypes and widths, text fonts etc....settings and styles???? Am I correct?????

And if I do not finish the template in one session I would have to save it....which could corrupt my new template???? I'm sorry this is a bit confusing to me because I have been doing it the wrong way for the last year.
0 Likes
Message 6 of 11

Joe-Bouza
Mentor
Mentor

@ESchomberg wrote:
Hey Jay...under Joe's knowledge network post on resolving a damaged drawing I read one of the options was to open a blank drawing and insert the problem drawing then explode the block...

That reminded me of my friend saying that it seemed like they had templates created...they would open a new drawing each time and insert the template they needed.... I am wondering if that is an option to what you recommended.... I have not had time to look into what you recommended it may be simpler.

But, at any rate, either way I will have to start from scratch with a new template creating all my layers, linetypes and widths, text fonts etc....settings and styles???? Am I correct?????

And if I do not finish the template in one session I would have to save it....which could corrupt my new template???? I'm sorry this is a bit confusing to me because I have been doing it the wrong way for the last year.
Hopefully we can clear up the rabbit holeHopefully we can clear up the rabbit hole.
I'll put this out first : Why do you need to start from scratch?
back to @Jay_B 's post: ACAD by default starts with some template (a dwt file) depending on what you told the installation wizard. Like Jay said a dwt file is only s dwg file saved to a different extension. We can get caught in some crazy web of confusion debating weather a dwt file used over and over is the same as using a dwg file over and over, and I don't have a clear answer but lets take a leap of faith and accept that a clean dwt is far superior and less prone to corruption. It is somewhat obvious to me that if I pull information from the same sector on the media to use over and over is less apt to cause issues if information is cobbled from various sectors ( that would be harvesting). so, enough about that - we are going to blindly accept that dwt is the correct way to go.
What Jays image is showing is that you can set acad to point to a specific location where you want to store your templates, and at the same time which one will be the default when your start acad or press the new file icon. When you have several templates for various uses you can handle that in a couple of ways.
1. like we spoke before : various profiles that would change the option settings to use the files and locations specific to that templates use
2. instead of the file new icon use pull down file new and the acad dialog box will show you list of dwt files to choose from
back the any rate concern. No. You can take any dwg file and turn into a useful dwt, BUT take the measures in the link I posted to CLEAN the file. That is get rid of any extraneous goop.

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 7 of 11

Jay_B
Mentor
Mentor

@ESchomberg wrote:
Hey Jay...under Joe's knowledge network post on resolving a damaged drawing I read one of the options was to open a blank drawing and insert the problem drawing then explode the block...

That reminded me of my friend saying that it seemed like they had templates created...they would open a new drawing each time and insert the template they needed.... I am wondering if that is an option to what you recommended.... I have not had time to look into what you recommended it may be simpler.

Now were mixing 2 separate issues here, my post was directed at helping you begin clean drawings using a dwt file to avoid potential & unwanted drawing corruption. Joe's post was directed at line 4 reiterating that doing saveas to create new drawings is a bad practice.

 

Drawing corruption repair methods are a separate topic then creating templates.

 

There are various methods to use templates, the ones suggested in my previous post are IMO the simplest option, for creating new drawings starting from scratch a master.dwt.

 

Please try my suggestions and let me know if it's simpler/less steps than inserting drawings into one another. Personally for me, it can't get any simpler, as that's how Autodesk designed it to work and how the software uses default dwt template files right out of the box.

 

I don't want to add to the confusion here but if you right lick on the Layout tab, you'll see an option to create a Layout from a temple, this might be what they were referring to.

 

If you use a template like the one I saw in your other post on most projects, the QNEW approach is the way to go IMO.

 

 

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 8 of 11

ESchomberg
Collaborator
Collaborator

Thank you sir. I am currently working on this.

 

Joe posted a way to clean up my template so I don't have to start from scratch.

 

I am then going to try your method, but I do have some questions(this is more confusing than you make it sound) but once I figure something out, it becomes simple. 

 

1) The main drawing template that I have been using over and over again for hundreds of drawings has my personal layers in it under a layer filter(I called it Erik Schomberg) It has all my text layers line types hatch patterns and so on. It also contains 6 layout tabs with different sheet sizes and shapes at the bottom. It contains all of my text fonts and sizes........all my styles and settings.

 

2) I have that drawing currently open. When I click the QNEW tab it does add drawing2, drawing3 and so on, but........when I click on drawing2 it does not recognize my layout tabs, layers, text fonts, styles and settings. It is like a brand new drawing with all of cad default settings. I want to have access to all of my layout tabs and personal settings. This is TREMENDOUSLY confusing to me, I feel completely lost. What am I missing here?????

 

3) All I can think of is that maybe it is because I have my main template opened as a .dwg instead of a .dwt??? Am I getting warm???

 

 a) So if I clean up my main drawing like Joe said would I simply save it as a .dwt???? Then next time I start a drawing I would open that .dwt/ or insert it as my main(default) .dwt like you said.....Then when I open a .dwg within that .dwt the new drawing will recognize all of my layers, texts fonts, styles and settings??? I am guessing and floundering here......

 

4) You said "no need to save as" but..... when I complete a drawing I will have to name it and save it to the folder I need it to go in...Right???

 

 

0 Likes
Message 9 of 11

ESchomberg
Collaborator
Collaborator

OMG, Jay you are a genius!!!!! It Took me a while but I finally got it!!!! I found by going through steps that my drawing was not corrupted so I saved it as a .dwt in a folder... I then opened the options box like you said found the QSAVE template location.....clicked browse.....found my .dwt file and put it there......I then opened a new drawing selecting that .dwt file....clicked the Quick add drawing button and the new drawing recognized all my layout tabs, layers and settings.... So basically If I need to create a new template for a new client all I have to do is put his .dwt in the options box and I'm good to go..... I did a victory dance lol.......How the hell do you guys know all this stuff???!!!!

 

I just have one small question left......I just opened a new drawing and it automatically opened up as Drawing1.......Does that mean that the default template is working/ or do I need to go to the folder where I saved my template .dwt and open it from there each time???? I have the feeling that the default template that I inserted into the options box must be automatically working since it recognized all of my layers etc......

 

Thank you tons....and tons....and more tons.....

Message 10 of 11

Jay_B
Mentor
Mentor

@ESchomberg wrote:

I just have one small question left......I just opened a new drawing and it automatically opened up as Drawing1.......Does that mean that the default template is working/ or do I need to go to the folder where I saved my template .dwt and open it from there each time???? I have the feeling that the default template that I inserted into the options box must be automatically working since it recognized all of my layers etc......

 

Glad to hear you got it working, I was about to post a video & saw you beat me to it. Smiley Very Happy

 

That's exactly how it's supposed to work, Drawing1.dwg etc. are just "temporary" drawings Autocad creates using the dwt specified under QNEW in template settings of OPTIONS. Simply save the dwg to your project folder.

 

One thing you may want to do is set you're "Drawing Template File location" file path which is also found under Template Settings in OPTIONS.

 

If your a one man shop & only use one custom dwt for every project, how you have it will likely work just fine.

 

Just want to point out that this setting controls the file path location Autocad reverts to when changing the drawing filter in file open dialog etc. when the ".dwt" file type filter is selected.

 

It' also displays the available dwt's when the Application Menu > New Drawing is used.

 

 

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
0 Likes
Message 11 of 11

ESchomberg
Collaborator
Collaborator
I understood most of that but not all of it....but in general I think you have led me in the right direction... I will have to re read tomorrow... I think that if my main template being inserted in options like you showed me works...then I should be able to insert any new drawing templates in the same way for other clients.. It was a very exciting learning experience for me...thank you
0 Likes