LineDrawer5 Posted January 19, 2012 Posted January 19, 2012 Hi all, I would like to create a shortcut that would insert a specific block. The block(s) are dwgs located on the C drive so I would like to basically type: car [space] and have the car block inserted. Thanks in advance for any help! Quote
SLW210 Posted January 19, 2012 Posted January 19, 2012 You should be able to use a script for that. Use -INSERT for command line only. AutoCAD help has a good section on scripts as well as plenty of info on CADTutor. Quote
LineDrawer5 Posted January 19, 2012 Author Posted January 19, 2012 You should be able to use a script for that. Use -INSERT for command line only. AutoCAD help has a good section on scripts as well as plenty of info on CADTutor. Ok thanks, so my script would read: '-insert car ___ Now how can I make it so that 'car [space]' inserts the block? Thanks Quote
BIGAL Posted January 23, 2012 Posted January 23, 2012 You need to add this to your startup lisp. If stuck acad.mnl (defun C:car () (command "'_insert" "car") ) Personally I would look at palettes or menu's. Quote
JGA Posted January 24, 2012 Posted January 24, 2012 I would look at the toolpalletes as well. With a routine like above, you'll have to add the folder of blocks into your support path. Quote
SLW210 Posted January 24, 2012 Posted January 24, 2012 Tool Palettes and/or Design Center is what I use as well. Quote
Recommended Posts
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.