Block Insert command

Block Insert command

jamied2000
Advocate Advocate
602 Views
3 Replies
Message 1 of 4

Block Insert command

jamied2000
Advocate
Advocate

I want my AutoCAD 2021 to automatically pull up the dialog box that I have circled in the attached pic.  What command do I have to assign to my "I" in order for this to come up?  At the current time I have "I" assigned to "insert" command and it pulls up the blocks palette instead of the second attached dialog box.

0 Likes
603 Views
3 Replies
Replies (3)
Message 2 of 4

Patchy
Mentor
Mentor
0 Likes
Message 3 of 4

rkmcswain
Mentor
Mentor

Add this to your acaddoc.lsp file. If you don't have this file, create it and put it in a folder such as C:\CADSTUFF, and then add this path to the TOP of your support file search path.

 

 

(defun c:i ()(princ "Macro: Insert ")(progn (initdia)(vl-cmdf ".-insert" "~"))(princ))

 

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 4 of 4

Kent1Cooper
Consultant
Consultant

Try the attached InsertDwgAsBlock.lsp with its IDAB command.  It opens up the file navigator in the current drawing's folder, but you can pick the pull-down and navigate to anywhere you want to select a drawing file, which it will use in an Insert command, leaving you to complete that [insertion point, scales, etc.].

 

If that does what you want, its command definition can be substituted for the standard INSERT command, but I'd be reluctant -- do you really want INSERT to always bring up a drawing-file navigator, rather than the regular Block dialog?  Or change my command name to I, remove I as the alias for INSERT, and use it for this purpose, and you'll need to enter more of the command name to get INSERT?

Kent Cooper, AIA
0 Likes