QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

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

Attached to Project: QCAD
Opened by Husky (Husky) - Saturday, 27 July 2013, 10:21 GMT+1
Last edited by Andrew (andrew) - Wednesday, 18 September 2013, 14:54 GMT+1
Task Type Feature Request
Category Main
Status Assigned
Assigned To Andrew (andrew)
Operating System Windows XP
Severity Low
Priority Normal
Reported Version 3.1.6
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

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!

This task depends upon

Comment by -- (clive) - Monday, 29 July 2013, 17:37 GMT+1

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.

Comment by -- (clive) - Tuesday, 30 July 2013, 10:14 GMT+1

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.

Comment by Husky (Husky) - Tuesday, 30 July 2013, 18:49 GMT+1

Now we are on the same page ;-)

Comment by Andrew (andrew) - Wednesday, 18 September 2013, 14:53 GMT+1

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.

Loading...