In AutoCAD architecture 2026-lock other objects when editing block in-place?

In AutoCAD architecture 2026-lock other objects when editing block in-place?

baleti3266
Advocate Advocate
119 Views
5 Replies
Message 1 of 6

In AutoCAD architecture 2026-lock other objects when editing block in-place?

baleti3266
Advocate
Advocate

Is it possible to lock other (faded) objects while editing a block in place? That seems to be default behavior already when editing Xrefs in place, but when I'm editing blocks it seems that I can still move/stretch other objects (even though they are faded).

0 Likes
Accepted solutions (1)
120 Views
5 Replies
Replies (5)
Message 2 of 6

imadHabash
Mentor
Mentor

Hi,

>> Is it possible to lock other (faded) objects while editing a block in place?

The normal behavior for this procedure is to be locked!!!

Which command did you use for editing the block?

Which version of AutoCAD did you use?

Can you make a short video for your issue?

 

Imad Habash

EESignature

Message 3 of 6

cadffm
Consultant
Consultant
Accepted solution

Hi,

start REFEDIT command, switch to SETTINGs Tab, turn on the Lock option.

 

 

Sebastian

Message 4 of 6

baleti3266
Advocate
Advocate

@cadffm you are right this behavior is controlled by this "lock objects not in working set" being ticked off

baleti3266_0-1757451213607.png


by default it's ticked on, but I set an alias that run it:

(defun C:rf () (COMMAND "-refedit" "ok" "all" "no"))

and for me on start this put it in "lock objects" turned off state 

sadly there doesn't seem to be a way to control it other than running refedit once manually for each new drawing

after refedit (without hyphen at the beginning) runs once, -refedit runs again with locking turned on


@imadHabash 

> Which version of AutoCAD did you use?

autocad architecture 2026

this sounds like a bug in autocad? should I report it? or ask them to expose a variable or -refedit argument to control it?

0 Likes
Message 5 of 6

cadffm
Consultant
Consultant


Hi,

 

>>by default it's ticked on,
Default value for a new fresh standard installation is ON, right.

 

>>but I set an alias that run it: (defun C:rf () (COMMAND "-refedit" "ok" "all" "no"))
That's limited to preselected blockreference, okay.

Why not (defun C:rf () (if (ssget "_i") (COMMAND "_.-refedit" "_ok" "_all" "_no")(COMMAND "_.-refedit" pause "_ok" "_all" "_no"))(princ))

 

>>and for me on start this put it in "lock objects" turned off state
No, that has nothing to do with the lockobjects setting.

Why do you think so, Are you able to replicate that? -> Ahhh, your next statements explains


>>after refedit (without hyphen at the beginning) runs once, -refedit runs again with locking turned on

So the setting is correct (think about, the setting is saved by profile, so it's possible that it is ON in one, but OFF in another profile / User)
but it doesn't work for -RefEdit, until you runned command RefEdit one time (per drawing file).


>>this sounds like a bug in autocad?
Yes, because it works if you runned RefEdit and this can't be designed for. If it would never work, it could be designed this way.

 

>>"should I report it?"
Yes, why not- decades old bugs are still bugs.

 

 

Sebastian

0 Likes
Message 6 of 6

baleti3266
Advocate
Advocate

>>by default it's ticked on,
> Default value for a new fresh standard installation is ON, right.

it seems that it's ON for REFEDIT, but it's OFF for -REFEDIT (until you run REFEDIT once, after that it's ON for -REFEDIT too)


> Why not (defun C:rf () (if (ssget "_i") (COMMAND "_.-refedit" "_ok" "_all" "_no")(COMMAND "_.-refedit" pause "_ok" "_all" "_no"))(princ))

thanks, that looks more robust

>>"should I report it?"
> Yes, why not- decades old bugs are still bugs.

is that normally done via this feedback page?
Sending Product Feedback to Autodesk

 

0 Likes