Page 1 of 1

How to change Block Reference to other shape

Posted: Tue Jun 04, 2024 8:45 pm
by ha4n
Hello community,

Is possible to change existing Reference Block to another predefineted shape from library?

My idea:
I would like to create new shape (line or polyline) and save it as reference_1 in DXF file (in library)
Then in DXF flie I have 100 Reference Blocks and I would like to replace all Reference Blocks to 100 new the same shapes (reference_1).

I show my idea at picture attached.

Is it possible in QCAD?
I try a bit with Create Library Item, but it saves to new DXF and no idea how to replace existing blocks to new shape

Best regards :)

Re: How to change Block Reference to other shape

Posted: Tue Jun 04, 2024 9:38 pm
by CVH
The referenced block name is an editable property in the Property Editor.

- Define a new alternative Block Definition if it doesn't exist yet.
- Select All Block References in question and only those.
- Change Referenced Block to the name of the alternative.

If the alternative exist as library item but not as Block then insert that item once and delete the inserted Block Reference.
A copy of the library item remains as Block Definition and is listed in the Block List.

If the two things have the same name (filename) then allow to overwrite the current Block Definition when inserting a library item.
Changing the Block Definition content will be reflected immediately in all the Block References.

Remember that there is no further relation with the library items, a copy is inserted and that is all.
Library items are nothing more than drawing snippets that are imported.

Regards,
CVH

Re: How to change Block Reference to other shape

Posted: Wed Jun 05, 2024 10:49 pm
by ha4n
Hi CVH,

Thanks for reply! I will try it. :D