# Including and creating libraries, including shared files

**URL:** <http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599>\
**Category:** QCAD Community Edition\
**Created:** [November 28, 2017, 4:29pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599 "2017-11-28T16:29:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![massimo](http://forum.qcad.org/user_avatar/forum.qcad.org/massimo/32/26_2.png) [@massimo](http://forum.qcad.org/u/massimo)\
**Post date:** [November 28, 2017, 4:29pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599/1 "2017-11-28T16:29:02Z")

</div>

Hi, I have several files using the same blocks. Usually I just copy the blocks from file to file and that way I get all blocks and layers to the next file.  
But the disadvantage is, that I can’t centrally modify the shared blocks.

So I thought about creating a library. But that would mean I would need to export every single block to a DXF file where it is not a block.  
Would it be possible that way, that updating the library would update all files including the items?

It would be more useful to have one central DXF file with all the blocks I need, and then just including that from others. I do equal things when programming or writing large texts.

---

<div class="post-metadata">

**Author:** ![andrew](http://forum.qcad.org/user_avatar/forum.qcad.org/andrew/32/15013_2.png) [@andrew](http://forum.qcad.org/u/andrew)\
**Post date:** [November 28, 2017, 6:07pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599/2 "2017-11-28T18:07:02Z")

</div>

What you are looking for is called external references (XREF) and is indeed planned (for QCAD Professional):

> **[FS#693 : Support for external references (XREF)](https://www.qcad.org/bugtracker/index.php?do=details&task_id=693)**
>
> Flyspray, a Bug Tracking System written in PHP.

---

<div class="post-metadata">

**Author:** ![RaNoPlus](http://forum.qcad.org/letter_avatar_proxy/v4/letter/r/a4c791/32.png) [@RaNoPlus](http://forum.qcad.org/u/RaNoPlus)\
**Post date:** [April 17, 2020, 1:51pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599/3 "2020-04-17T13:51:54Z")

</div>

Hi Andrew,  
According this message- you were busy with xrefs in 2017. What is the status now? I can’t add any xref to my drawings. Yes, I have also found a work around with blocks but I think you know that’s not the the best way how to handle xrefs. Are you stil busy to fix this?  
Thank you for your reply.

---

<div class="post-metadata">

**Author:** ![andrew](http://forum.qcad.org/user_avatar/forum.qcad.org/andrew/32/15013_2.png) [@andrew](http://forum.qcad.org/u/andrew)\
**Post date:** [April 17, 2020, 2:00pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599/4 "2020-04-17T14:00:46Z")

</div>

Not busy. In 2017 I said this is “planned”. It’s still planned. However, it has not been implemented yet (no progress either).

Note that XRefs are much more complex than one might assume (think about merging of layers with the same name in the drawing as in one or multiple referenced files, block name collisions, line style collisions, pattern collisions, handling missing XRefs, recursive references, path changes when moving files around, etc.). In other words, better don’t hold your breath for XRef support in QCAD. Sorry to not have better news about this.

---

<div class="post-metadata">

**Author:** ![AnobiumPunctatum](http://forum.qcad.org/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@AnobiumPunctatum](http://forum.qcad.org/u/AnobiumPunctatum)\
**Post date:** [January 14, 2025, 4:41pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599/5 "2025-01-14T16:41:51Z")

</div>

Hi all,

Have xref’s been implemented in the meantime? I could not find anything with the search function but find the feature very useful.

Christian

---

<div class="post-metadata">

**Author:** ![andrew](http://forum.qcad.org/user_avatar/forum.qcad.org/andrew/32/15013_2.png) [@andrew](http://forum.qcad.org/u/andrew)\
**Post date:** [January 14, 2025, 4:44pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599/6 "2025-01-14T16:44:39Z")

</div>

No, QCAD has no support for XRefs as of version 3.31.2.

---

<div class="post-metadata">

**Author:** ![AnobiumPunctatum](http://forum.qcad.org/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@AnobiumPunctatum](http://forum.qcad.org/u/AnobiumPunctatum)\
**Post date:** [January 14, 2025, 4:58pm UTC](http://forum.qcad.org/t/including-and-creating-libraries-including-shared-files/3599/7 "2025-01-14T16:58:36Z")

</div>

Thanks for the quick answer.
