jump from one "edit block in-place" into another?

jump from one "edit block in-place" into another?

Anonymous
Not applicable
1,789 Views
13 Replies
Message 1 of 14

jump from one "edit block in-place" into another?

Anonymous
Not applicable

Hello all, 

is there a way to go from in-place editing straight into another without first exiting? like double clicking on another block and then choosing if to save changes and going right into editing the other block?

now that would be great....

Thanks in advance...

0 Likes
Accepted solutions (1)
1,790 Views
13 Replies
Replies (13)
Message 2 of 14

dbroad
Mentor
Mentor

No.  I don't understand how that would improve anything either.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 14

Anonymous
Not applicable
that would save me a lot of time as i jump from one block to another a lot.
so maybe there could be a lisp written for this?
thanks again
0 Likes
Message 4 of 14

scot-65
Advisor
Advisor
I'm not sure if I understand you.

Do you want to bypass the "Edit Block Definition" dialog
after double-clicking on a block while the block editor is open?

Other than that, I can do what you are describing in R2017.

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 5 of 14

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... like double clicking on another block and then choosing if to save changes and going right into editing the other block? ....


I doubt it, exactly like that, but something similar in slightly different sequence is possible:

 

If you're editing a Block or Xref with REFEDIT, pick on a menu item containing this macro:

 

^C^C_.refclose _save _.refedit

 

Then pick OK in the confirmation dialog box, and it will immediately ask you to pick another Block to edit.

 

OR, if you are using BEDIT instead, this takes a slightly different procedure:

 

^C^C_.bclose _save _.bedit

 

That doesn't ask for confirmation, which saves a pick, but you also need to pick the next Block to edit from a list, rather than by selecting an insertion of it, so it's not like your concept of clicking on one in the drawing.

 

BUT I'm confused about your assumed process.  If you are getting into editing one by double-clicking, as you hope to do for the next Block you want to edit, that gets you the BEDIT command, in which all you see are the elements of the Block you're working on -- other Blocks are not visible to double-click on [except for any that are nested in the current one].  From that, I kind of assume you're talking about REFEDITing instead, where at least it's possible to see and double-click on an insertion of a different Block, but the message you get if you do is that it's BEDIT  that is not allowed during reference editing, so it would seem like changing commands if it were somehow possible to do it that way.  The first macro above doesn't involve any double-clicking, so it won't switch you from REFEDIT to BEDIT.

 

AND NOW in further experimentation I find that this:

(command "_.refclose" "_save" "_.refedit")

 

is like the first macro above except that it doesn't ask for confirmation in a dialog box, so you pick on a menu item containing that, and the Block you're REFEDITing is saved in its current state and you're immediately asked to pick another.

 

[A similar approach with BCLOSE / BEDIT has the drawback that you would have to type in the Block name, rather than having a list presented to pick from.]

Kent Cooper, AIA
0 Likes
Message 6 of 14

Anonymous
Not applicable
hi. i didn't explain myself enough... i double click in order to get into
REFEDIT not BEDIT (changed it in the settings)...
So yes, i actually wanted to have something very similar to the "^C^C_.refclose
_save _.refedit " you suggested. but i see it does ask me for saving - so
is there a way to just pick another block with auto saving?
thank you so much for your help!
0 Likes
Message 7 of 14

ВeekeeCZ
Consultant
Consultant

hanna, we gave you plenty of suggestions. Why don't you read and try ALL OF THEM and see if that fits to you??

 


hanna613 wrote:
...
So yes, i actually wanted to have something very similar to the "^C^C_.refclose
_save _.refedit " you suggested. but i see it does ask me for saving - so
is there a way to just pick another block with auto saving?
thank you so much for your help!

The issue are the cancels: ^c^c. If you try without them you'll see it works just like you want. 

 

_.refclose _save _.refedit

 

But Kent this suggested as well before -- and you did not bother to try it. BTW that's EXACTLY THE SAME suggestion as mine from a year ago, in your thread, see HERE.

0 Likes
Message 8 of 14

Anonymous
Not applicable
You are not being very polite... I'm not used these type of responses and
usually get very nice and patient help (no help is better then a rude
response).
I actually did try everything suggested but didn't understand that I need
to take off the ^c^c. In any case I took it off now & it didn't help -
still asking to save.
KENT - thank you SO much for your kind help & patient replies as always.
0 Likes
Message 9 of 14

ВeekeeCZ
Consultant
Consultant

Sorry, I've confused you now. The macro MUST BE written as LISP. So use this Kent's format and paste it as a macro... no more, no less. 

(command "_.refclose" "_save" "_.refedit")

 

The idea is that LISP suppress the dialog but macro is not.

 

Sorry to not being polite enough -- just we are heading to the same solution as I was suggested to you a year ago and which you did not even reply to...

0 Likes
Message 10 of 14

Anonymous
Not applicable
Thank you!
Unfortunately I don't know what "paste it as macro" means... I know how to
paste a lisp routine with a command name, & know how to create a new
command using ^C^C. So I understand that I should make a lisp routine using
this code (command "_.refclose" "_save" "_.refedit")? but how to I run
this lisp if there is no command name?
I apologize but I'm not an expert in this...
0 Likes
Message 11 of 14

ВeekeeCZ
Consultant
Consultant

@Anonymous wrote:
Thank you!
... know how to create a new command using ^C^C...

This is the correct way, just paste the line Kent gave you instead of ^c^c... (the field is called "Macro")

0 Likes
Message 12 of 14

Anonymous
Not applicable
Oh - so that's exactly what I did before - just took off the ^c^c but i'm
still asked to save........
BTW I just went to the thread that i posted a year ago (which i forgot i
did...) and saw you actually gave me a very nice lisp that works great! I
really apologize for somehow missing it and now understand much better why
you were a little short with me.. 🙂
my apologies and thanks
0 Likes
Message 13 of 14

ВeekeeCZ
Consultant
Consultant
Accepted solution

It should look like the attached screenshot. This works for me.

0 Likes
Message 14 of 14

Anonymous
Not applicable

Oh I needed to add the Parentheses! works great! thank you SO much!

0 Likes