Continue to Site

Welcome to 3DCADForums

Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.

Insert a Standard Drawing Template

Barbod

New member
I would like to create a default template with comany name ,logo, drawing number etc how can I apply this so when a new drawing is created it would use this template when I print the drawing ie it would only be visable in layout space.
 
Create a drawing with your titleblock, logos, etc in paperspace. Set up the layout for plotting. You might want to create the layers, text styles, dimension styles and load the linetypes you normally use. Then "save as" a dwt file. When you start a new drawing use this drawing as the template file.
 
This is another way around: Create a template/logo drawing in model space. Use editable attributes for page numbers. Insert that drawing as a block into paperspace of your constructi on drawing. We have a separate template that is used for project name, issue date, etc that is xref'd into all project drawings so they all match. As long as the xref gets updated, there is no chance of drawings having differing
project names or issue dates.
 
I think Aimon is correct. I would add finding VBA or LISP program to insert time and date into your template. Note that to convert a ACAD file into a block by using WBLOCK command. Hope this helps.
 
Part 1 of Setting up a Template

PART 1

This question covers quite a few topics, all of which will require explaining leading up to the point where the template set up is automatic.
Typical topics in question are as follows:- Blocks, Attributes, Layers, Viewports, Insertion Points, Printer, Sheet size & Orientation, Settings, Templates, Startup Switches, Paths, Brain Surgery, Atomic & Bi-molecular Fusion, Astroe Fizziks, Spelling, Gardening…. no… wait a minit! Erase the last one. To name but a few !
All the topics, which apply to AutoCAD of course, can be found in the Help files & by accessing these Blogs & blogs from other sources (this web site has got it all here). But I’ll have a go myself none the less.
As with AutoCAD, there’s always more than one way of doing things, thank goodness!

Open up an AutoCAD session an set the Units to the way you work. Feet ‘an inches, millimeters, gallons, tons….. whatever!

BLOCKS
This will be your title panel containing title headings such as:- logo, name, date, scale, drawing number, revisions, job title, client name, job number, company name, checked by, drawn by & others all requiring filling in, in the little boxes. This is where your Attributes come in.
Set everything out using perhaps the snap & grid to locate & position the text elements, boxes & lines. As you select the entities that will make up your block be careful to select the attribute entities in the order you wish them to appear when the title panel block is activated !
Create a new layer specifically for the title panel. Also bear in mind the size of sheet & it’s orientation. When your drawing sheet is folded, is the title panel fully visible?

Some people like to have a full surround line border on their page or sheet with divisions marked out at intervals. If you have this on your sheet and only a small detail in the middle, how long will it take for your printer to print the whole sheet out when all you needed was the detail in the middle!
Think about it….it’s a big yawn when you are in a rush.

As you make your title panel block, finish off with the insertion point at a known location suitable for insertion. For instance the bottom right hand corner of the sheet & viewport which matches the edge of the maximum printable area of your printer.

When AutoCAD is opened up you are usually given a layout tab with a viewport on a sheet of no particular size. That is because it’s the default. You need to first pick the printer you want to use & then the sheet size. Hover the cursor over the layout tab & right click. Select the Page Setup Manager then Modify. Select the ones which apply to you. When you exit from this AutoCAD will reset to give you your sheet in the layout tab.
If you go to Tools then Options & select the Display tab you will see the Layout Elements rectangle. Tick the top 4 for starters. The one which you need to know for this exercise is to do with the maximum printable area. Close this window down & go back to the layout tab.
Erase any viewport that AutoCAD gave you.
What you have left is a dashed line depicting the maximum printable area that your printer is capable of for that sheet size. It is only a visual aid. You cannot select it or highlight it nor start a line on it….exactly or precisely.
Make a layer called Viewports. Give it a colour say RED. Make this layer active. Go over the top of any other toolbar and right click. A drop down selection of other toolbars will appear. Click on the Viewports toolbar. Dock it if you want to.
Select the option that gives you the full single viewport & put a new viewport on your page. The ‘F’ for fit option. You will note that it fits perfectly over the Max Printable Area. AutoCAD does it for you. Now if you were to resize or move the viewport & then try to reposition it back again..precisely, you will find you cannot. To get round this create a layer called NP. That’s for Non Plotting & give it a colour that does not stand out much, say grey. Erase the old viewport & make a new whole viewport whilst in Viewports layer.
Now make the NP layer current & draw, snapping to each corner, a Polyline on top of the viewport line & close it. Go to Tools – Draw Order – Send to Back & select the NP line. The red viewport line should reappear. Make Layer 0 active. Lock layer NP. This layer NP you never use again anywhere for anything! You now have something to snap to when making, resizing & moving any viewports. You now know where the ‘edge’ is and can position other entities inside or outside the printable area. Your NP layer should also be set to not print.

You can set up as many layout tabs within your template as you wish.

Now put in position your new title block with attributes. Test your title block first before you go any further.
Does it activate when you double click it? Does all the text fit that you might ever need for a job.

I’ll write another bit soon.

Regards

Stephen
 
Last edited:
Part 2 of Setting up a Template

Now that the title block, printer, page size, viewports & extent of printing border is set in place, the next step is to tweak a few settings in AutoCAD such as the size of crosshairs, create some layer names, size of pick boxes etc.
Start by going to TOOLS-OPTIONS & go through the tabs one at a time, selecting and changing the default settings to suit yourself.

Now save this drawing, not as a .dwg but as a .dwt, where 't' is for template in the file extension.
If you are about to save this drawing for the first time the 'Save Drawing As' window comes up. Right at the bottom is a long box titled 'Files of type:'.
Select in this the file type - AutoCAD Drawing Template - .dwt
AutoCAD automatically goes to its own template file folder.
Then give your drawing template a name. It's gotta have a name! Everything has to have a name. Everythings gotta be somewhere. AutoCAD will save your template in here.
Do you know where this AutoCAD Template folder is in your system? AutoCAD sets up its own network of support files during the installation process. If you want to find out where, go to TOOLS-OPTIONS-FILES tab. Hit the + sign at Template settings & then the + sign at Drawing Template File Location. This will then reveal the path name.
It may read something like this :-
C:\Documents and Settings\All Users\Application Data\Autodesk\ADT 2005\enu\Template

Close down all your AutoCADs, then........
Highlight the Icon you use to activate AutoCAD. Right click & choose Properties. Select the Shortcut tab.
Inside the TARGET box you may see for example the line :-
"C:\Program Files\Autodesk Architectural Desktop 2005\acad.exe"
This is where this session of AutoCAD is kick started using the executable file called acad.exe.
Things can be added to this line called SWITCHES, which instruct AutoCAD to
carry out specific tasks such as give you your template immediately upon starting up.
Place the cursor immediately after the ", then :-
(space)
/t
(space)
"
now type in the name of your template with the file extension
"

So you now should have the line :-
"C:\Program Files\Autodesk Architectural Desktop 2005\acad.exe" /t "name.dwt"
Close the window.
Next time you activate this icon you should get your template coming up right away.

This will work ( he said lying brilliantly )

If this doesnt work I will need help, lots of it.:eek:
I'll blame the computer or the hole in the ozone layer.

Good luck & let me know how it goes....please !

I'm sure there are lots of other ideas out there for inclusion in a template or other ways to set one up. Write in and let us know.

regards

Stephen
 
Last edited:

Articles From 3DCAD World

Sponsor

Back
Top