Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to get a new drawing from a template other than the default. Below is what I have. When I run it, hangs up w/ the path on the command line. If I press enter it creates a new dwg but with the default template.
;SheetCreation
(defun c:nft ()
(setq template(getstring "C:/WSB_ACAD Support/_C3D/2024/01_Templates/Civil-C3D-Styles-2024.dwt"))
(vla-activate (vla-Add (vla-get-Documents (vlax-get-acad-object)) template))
(princ)
)
Solved! Go to Solution.