Similar to the relationship between assemblies and parts。
Thanks
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
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”.
Yes, it is possible to create geometry instances of the same mesh. If you are using Authoring/libsc, the function is Model.Instance. 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.
If your aim to create such geometries in the Web Viewer, please see Create mesh instance in our docs.
Thanks, I noticed that instance function, but I didn’t realize it could solve my problem, I’ll try later.
Thanks again.