← All bug reports

FS#866Paste block reference: add third option to rename pasted block(s)

Type
Feature Request
Status
Assigned
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.1.6
Operating system
Windows XP
Reported
2013-07-27 by Husky
Votes
1

Scenario:

Drawing 1: Blockname X is part of a selection, I copy this selection into the clipboard to use it in an other drawing.

Switch to Drawing 2, this drawing has also a Blockname X but with a different content.

Use the clipboard paste function - the clipboard content will be modified (only the Block) by the drawing 2 block content.

No warning pops up - it just happens!

Comments (4)

deleted user 2013-07-29

In this situation with two blocks having the same name...the option to 'overwrite' blocks needs to be selected! However I agree with you that a warning of some sort would be most useful indeed.

deleted user 2013-07-30

Actually - using the 'overwrite'option doesn't work because it changes all existing blocks in the current drawing!
So after further testing you are correct Husky - this to me is not useful, maybe an additional paste option is needed here or a prompt (and option added) to change the block name so that the block names do not match.

Husky 2013-07-30

Now we are on the same page ;-)

andrew 2013-09-18

This is intended behavior.

If you copy a 'block' in a document, what you actually copy is a 'block reference'. Think of it as an entity that contains the block name as ID (e.g. 'Block X').

If you then paste that block reference into a drawing which already has a block called 'Block X', you have two possibilities:

  • Use the existing definition of 'Block X' of the drawing to which you are pasting.
  • Overwrite the existing 'Block X' with the definition of 'Block X' from the source drawing (this will of course change the appearance of all block references in the target drawing to the block definition of the source drawing).

I think what you likely are asking for is a third option to create a new block with a new (user defined?) name. This is currently not possible and would require some thoughts for an additional user interface for entering the new block name. Note that multiple block reference to different blocks might be pasted at once. This would require a user interface allowing the user to define a new name for each individual block.

I'll change this to a feature request.