Is there a way to create/add a dialogue box similar to the default template drop down selection (or modify the default) to display a list customized templates to choose?
![]() |
|
![]() |
|
![]() |
|
![]() |
Is there a way to create/add a dialogue box similar to the default template drop down selection (or modify the default) to display a list customized templates to choose?
That list is showing you the templates in the path you have chosen/set in Options.
Options > Files > Template Settings > Drawing Template File Location.
Change this, restart AutoCAD.
R.K. McSwain | CAD Panacea |
Or you can copy your templates to AutoCAD's template folder. I prefix mine with an underscore so that they appear at the top.
C:> ED WORKING.... ▒
Technically that will work, but I prefer and always advise keeping your own custom files separate from Autodesk's files.
Then when you install a new version or move to a new PC, all of your custom files are in one place, and you simply have to re-map the pointers inside of AutoCAD (which can be automated).
R.K. McSwain | CAD Panacea |
I added a drop-down list of customized templates to a custom panel in the Ribbon for them with macros liketo create new drawings from custom templates for different workflows. I use (chr 92) for "\\" as it works in macros the same as if the code was pasted to the command line making it easy to test before adding to a macro.Code:^C^C^P(vla-activate (vla-Add (vla-get-Documents (vlax-get-acad-object)) (strcat (getvar "localrootprefix") "template" (chr 92) "AutoCAD Template" (chr 92) "FL83-NF.dwt")))
Last edited by Tom Beauford; 2021-01-28 at 12:11 PM.
Yeah, I suppose that is good advice for users who need their own custom templates. I supply our users with standards templates and I have a system for keeping them updated, so I just copy them to the template folder.
An old trick for including custom templates in the default template folder is to put a shortcut in that folder which points to the custom folder. AutoCAD treats it like a subfolder. That way you can use stock templates and have quick access to custom templates.
C:> ED WORKING.... ▒
I agree and do this for everything I can as well.
Do you happen to know if "Map - North Arrows.dwg" and "Map - Scale Bars.dwg" are no longer hard-coded into Civil 3D?
We've always had to overwrite those with our own (make a .bak of original) to get them to show up in Layout Tools ribbon tab, no?Code:C:\Program Files\Autodesk\AutoCAD 202X\Map\Sample\Symbols
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
About Special Control Characters in Command Macros is a good reference for creating Macros. I've added way too many to custom Ribbon panels, tabs, and Shortcut Menus to list. I prefer to use Shortcut Menus for modifying objects since they're accessible with a right-click instead of looking for an icon to pick. To Customize a Shortcut Menu explains OBJECT_objectname or OBJECTS_objectname but refer to Shortcut Menu Aliases for blocks and external references (xrefs).