Blockedit cancel command

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
pogocad
Junior Member
Posts: 16
Joined: Tue Dec 01, 2020 3:31 pm

Blockedit cancel command

Post by pogocad » Thu Feb 29, 2024 11:44 am

Hi

How to cancel the blockedit command? When I choose a block in the block list editor for editing, how to cancel all changes and go back to main? Like cancel in edit block in-place.

THX

QCAD Professional
Version: 3.29.4.0 (3.29.4)
Internet: QCAD.org
Build Date: Feb 7 2024
Revision: 36a6423
Qt Version: 5.13.2
Architecture: x86 64
Compiler: MSVC++ 14.0 (2015)

CVH
Premier Member
Posts: 3480
Joined: Wed Sep 27, 2017 4:17 pm

Re: Blockedit cancel command

Post by CVH » Thu Feb 29, 2024 12:22 pm

Returning to main:
- Top right button of the Block List: 'Return to Main Drawing'
Or
- Shortcut key sequence EM
Or
- Double clicking on 'Model' in the Block List

This excludes Edit Block In-place ... See Options toolbar with that tool.

For the record:
You don't cancel all changes that you made to the Block geometry, you simply swap to Model_Space view.
To undo the changes you just made use Undo (OO) until all is back as it was.
Just the same as basic editing in Model_Space what is also just a Block, a mandatory one.

Edit Block In-place works with an image before and image after and you can revert to the image before or not updating the Block content.

Regards,
CVH

pogocad
Junior Member
Posts: 16
Joined: Tue Dec 01, 2020 3:31 pm

Re: Blockedit cancel command

Post by pogocad » Fri Mar 01, 2024 10:28 am

Thanks for the clarification. I assumed that blockedit and edit in-place work similarly.

Regards

CVH
Premier Member
Posts: 3480
Joined: Wed Sep 27, 2017 4:17 pm

Re: Blockedit cancel command

Post by CVH » Sat Mar 02, 2024 7:01 am

Another way of tackling this is:
- Save file
- Block Edit
- Edit the block content but then decide you want to undo all that.
- Revert (To the last saved state)

In short: Save or back up your work on regular intervals. :wink:

Regards,
CVH

CVH
Premier Member
Posts: 3480
Joined: Wed Sep 27, 2017 4:17 pm

Re: Blockedit cancel command

Post by CVH » Tue Mar 05, 2024 8:35 am

Ushavilash wrote:
Tue Mar 05, 2024 7:19 am
Hey, simply press the Esc key on your keyboard. This will discard any changes made within the block edit session and return you to the main editor.
I can not replicate this behaviour.

When a drawing tool is running then ESC is usually handled by the escape event of the tool what is mostly the same as the right mouse button.
Otherwise it is handled by the escape event of DefaultAction what turns your GUI back to neutral.
- Previews are cleared
- Views are re-painted
- The stack of the CAD Tools toolbar is stepped back
- The DefaultAction state is returned to neutral

This does not include undoing actions that took place while editing the Block content.
And it won't swap to the Model_Space or main Block either.

ESC in Edit Block In-place mode does nothing for that tool.
'Cancel' is then a tool option on the Options Toolbar and not associated with a mouse button.
I that mode ESC is handled just the same as mentioned above, it does not affect the in-place editing mode.

Regards,
CVH

Post Reply

Return to “QCAD 'How Do I' Questions”