Jump to content

Saving Formats in Template


PJ01

Recommended Posts

I have created a template that saves the standard layers and the Dimension styles and Viewport that I use.

 

On my practice exercises, I use a lot of POINTS as markers, and select the Menu Bar /Format/Point Styles to select an appropriate Point style.

 

Can anyone please tell me how to save this Point formatting, so I don't have to re-do it every time for a new drawing?

Link to comment
Share on other sites

Sorry, stupid question. I just opened my custom template, did the Point format, and saved the template, overwriting the original. Not thinking well after a couple of hours in a dentists chair today :(

Link to comment
Share on other sites

PDMODE I think is what your after

 

(defun c:PTY ()
(setvar 'pdmode 35) ; turn on ptype
(setvar 'pdsize 0.2)
)
(defun c:PTYY () ; turn off ptype
(setvar 'pdmode 0)
)

Link to comment
Share on other sites

You can create ACADDOC.lsp and it will set any System Variables as you want them on opening a drawing.

 

SEE THIS

 

 

 

Example:

 

(SETVAR "PDMODE" 35)
(SETVAR "PDSIZE" 5)
(SETVAR "PELLIPSE" 1)
(SETVAR "PICKADD" 2)
(SETVAR "PICKAUTO" 1)
(SETVAR "PICKDRAG" 1)
(SETVAR "PICKFIRST" 1)

 

It can also load any LISP routine.

 

SEE LEE MAC INSTRUCTIONS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...