How to change Block Reference to other shape

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
ha4n
Junior Member
Posts: 13
Joined: Wed May 31, 2023 11:01 am

How to change Block Reference to other shape

Post by ha4n » Tue Jun 04, 2024 8:45 pm

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 :)
Attachments
zapytanie.png
zapytanie.png (37.76 KiB) Viewed 4244 times
2.PNG
2.PNG (10 KiB) Viewed 4244 times
1.PNG
1.PNG (7.05 KiB) Viewed 4244 times

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

Re: How to change Block Reference to other shape

Post by CVH » Tue Jun 04, 2024 9:38 pm

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

ha4n
Junior Member
Posts: 13
Joined: Wed May 31, 2023 11:01 am

Re: How to change Block Reference to other shape

Post by ha4n » Wed Jun 05, 2024 10:49 pm

Hi CVH,

Thanks for reply! I will try it. :D

Post Reply

Return to “QCAD 'How Do I' Questions”