# How to create a set of geometric blocks or references to reuse this set of data

**URL:** <https://forum.techsoft3d.com/t/how-to-create-a-set-of-geometric-blocks-or-references-to-reuse-this-set-of-data/4214>\
**Category:** HOOPS Visualize Web\
**Tags:** knowledge-base\
**Created:** [November 15, 2024, 2:32am UTC](https://forum.techsoft3d.com/t/how-to-create-a-set-of-geometric-blocks-or-references-to-reuse-this-set-of-data/4214 "2024-11-15T02:32:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![820110017](https://avatars.discourse-cdn.com/v4/letter/8/bc79bd/32.png) [@820110017](https://forum.techsoft3d.com/u/820110017)\
**Post date:** [November 15, 2024, 2:32am UTC](https://forum.techsoft3d.com/t/how-to-create-a-set-of-geometric-blocks-or-references-to-reuse-this-set-of-data/4214/1 "2024-11-15T02:32:27Z")

</div>

Similar to the relationship between assemblies and parts。  
Thanks

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [November 15, 2024, 2:21pm UTC](https://forum.techsoft3d.com/t/how-to-create-a-set-of-geometric-blocks-or-references-to-reuse-this-set-of-data/4214/2 "2024-11-15T14:21:18Z")

</div>

Hello @820110017,

Can you further elaborate on what you mean by “_geometric blocks or references to reuse this set of data_”? If you have examples from other CAD applications, that would be helpful.

Thanks,  
Tino

---

<div class="post-metadata">

**Author:** ![820110017](https://avatars.discourse-cdn.com/v4/letter/8/bc79bd/32.png) [@820110017](https://forum.techsoft3d.com/u/820110017)\
**Post date:** [November 16, 2024, 3:13am UTC](https://forum.techsoft3d.com/t/how-to-create-a-set-of-geometric-blocks-or-references-to-reuse-this-set-of-data/4214/4 "2024-11-16T03:13:36Z")

</div>

Thank you for replying me.  
The purpose of using references is to reduce redundant data. For example, I have recorded a mesh, which contains a collection of geometric data. When I use it again in another place, I expect to only record the reference id of this collection, rather than repeatedly recording the geometric data.  
The concepts in AutoCAD are called “blocks” and “block references”.

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [November 16, 2024, 1:17pm UTC](https://forum.techsoft3d.com/t/how-to-create-a-set-of-geometric-blocks-or-references-to-reuse-this-set-of-data/4214/5 "2024-11-16T13:17:54Z")

</div>

Yes, it is possible to create geometry instances of the same mesh. If you are using Authoring/libsc, the function is [Model.Instance](https://docs.techsoft3d.com/communicator/latest/api_ref/data_import/libsc/classSC_1_1Store_1_1Model.html#_CPPv4N2SC5Store5Model8InstanceE7MeshKey9MatrixKey11MaterialKey11MaterialKey11MaterialKey14MaterialMapKey14MaterialMapKey14MaterialMapKey10Visibility9Modifiers13ClipRegionKeyRK13VectorCulling). There are several examples (such as _sc\_store\_sample.cpp_) in _authoring\_sample.sln_ (found in HOOPS\_Communicator\_202X.X.X\authoring\libsc\examples) demonstrating instancing the mesh and including it in the assembly tree. This very topic is also discussed in our docs — [_Creating geometry instances_](https://docs.techsoft3d.com/communicator/latest/prog_guide/data_import/authoring/data-import-stream-cache-models.html#creating-geometry-instances).

If your aim to create such geometries in the Web Viewer, please see _[Create mesh instance](https://docs.techsoft3d.com/communicator/latest/prog_guide/viewing/geometry/meshes.html#create-mesh-instance)_ in our docs.

---

<div class="post-metadata">

**Author:** ![820110017](https://avatars.discourse-cdn.com/v4/letter/8/bc79bd/32.png) [@820110017](https://forum.techsoft3d.com/u/820110017)\
**Post date:** [November 18, 2024, 2:11am UTC](https://forum.techsoft3d.com/t/how-to-create-a-set-of-geometric-blocks-or-references-to-reuse-this-set-of-data/4214/6 "2024-11-18T02:11:44Z")

</div>

Thanks, I noticed that instance function, but I didn’t realize it could solve my problem， I’ll try later.  
Thanks again.
