QCAD Bugtracker

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System Windows XP
  • Severity Low
  • Priority Very Low
  • Reported Version 3.1.6
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Husky - 27.07.2013
Last edited by Andrew - 18.09.2013

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

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!

-- commented on 29.07.2013 15:37

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.

-- commented on 30.07.2013 08:14

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 commented on 30.07.2013 16:49

Now we are on the same page ;-)

Admin
Andrew commented on 18.09.2013 12:53

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...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing