Insert Blocks from library - is it possible to avoid the scale and rotation prompt?
I'm using a user defined block library, and when draging a block in to the drawing (or duble clicking on a block icon),
after selecting the insertion point the software prompt me in the command line to set the rotation angle and insertion scale, and then it go to the attribute window.
is it possible to avoid the scale and rotation part and move straight to the attribute window,
just like it work with the insert command,where both the rotation and scale use the system default values?
ATTDIA Variable is set to 1.
ATTREQ Variable is set to 1.
thanks,
Ari.
*EDIT:
I eventually used lisp to avoid it:
(defun c:IA (/ osm )
(command "INSERTALIGNED" "~" pause "" "" )
(princ)
)
Comments
-
I was looking for a solution for said problem. For me this does not work in v24. Does the lisp script still work for you?
0 -
Hello.
From my testing, the behavior of the Library panel cannot be customized.
All options are required on inserting - meaning insertion point, scale, and rotation.An alternative, aside the lisp one, could be to use a custom tool palette and add the blocks to it.
0 -
If no attributes.
(command "-INSERT" "blockname" pause 1 1 0)
With attributes
(command "-INSERT" "blockname" pause 1 1 0 att1 att2 ) needs to match number of attributes.
0 -
Have you looked at using "Tool Palettes panel" for inserting blocks.
There you can configure each block for exploding/rotating/scale/layer …..
0 -
Thank you very much for the answers. Probably the tool palette would be the right thing to do.
However I think that I will actually make BIM-Objects of all my Blocks, as I will need them in the Bim Modell anyway. And with Bim Blocks I do not have the issue of scaling
0 -
I would have thought it would be a fairly simple macro. Essentially the command line version to insert a block. I tried the following in my v14 Bricscad, but it didn't work.
^C^C_-insert $filename;\1;1;0
I saw the $filename in a web search, hoping it woudl open a dialog box to browse for a drawing. But I don't really understand how to use it, and the above macro doesn't work. Also, such a macro would ideally allow you to hard-code the directory it goes to. Any suggestions for doing the block insertion as a macro?
-Joe
0 -
If your happy with pop menu's then you can do this. You can also use a custom DCL and populate it via a LIST of block names. I have like 3x3, 4x4 4x5 etc.
0