# I generated a scz or scs model file, but there are nothing on the mode "wireframe".Why?

**URL:** <https://forum.techsoft3d.com/t/i-generated-a-scz-or-scs-model-file-but-there-are-nothing-on-the-mode-wireframe-why/4960>\
**Category:** HOOPS Visualize Web\
**Tags:** how-to\
**Created:** [October 13, 2025, 1:38pm UTC](https://forum.techsoft3d.com/t/i-generated-a-scz-or-scs-model-file-but-there-are-nothing-on-the-mode-wireframe-why/4960 "2025-10-13T13:38:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![38422985](https://avatars.discourse-cdn.com/v4/letter/3/34f0e0/32.png) [@38422985](https://forum.techsoft3d.com/u/38422985)\
**Post date:** [October 13, 2025, 1:38pm UTC](https://forum.techsoft3d.com/t/i-generated-a-scz-or-scs-model-file-but-there-are-nothing-on-the-mode-wireframe-why/4960/1 "2025-10-13T13:38:38Z")

</div>

[HoopsModels.zip](https://forum.techsoft3d.com/uploads/short-url/rM2Km3sPtKem2qZ70yj4nVdGz8s.zip) (4.1 KB)  
the zip file include: scz file 、scs file、 my code

I had created face\_element 、polyline\_element, point\_element.  
1、Now i can select the face and the line ,but i can not select the point?  
2、under the Draw mode”wireframe”,there are nothing, why ?  
Thanks a lot!

---

<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:** [October 13, 2025, 2:59pm UTC](https://forum.techsoft3d.com/t/i-generated-a-scz-or-scs-model-file-but-there-are-nothing-on-the-mode-wireframe-why/4960/2 "2025-10-13T14:59:57Z")

</div>

Hello,

Below are our response:

1. Please check that points can be selected via the [PickConfig](https://docs.techsoft3d.com/hoops/visualize-web/api_ref/viewing/classes/PickConfig.html#PickConfig) object, for example:

```auto
let om = hwv.operatorManager;
let operatorPoint = om.getOperator(Communicator.OperatorId.Select);
let pickConfig = operatorPoint.getPickConfig();
pickConfig.allowPoints=true;

operatorPoint.setPickConfig(pickConfig);

```

You can then get the `PointEntity` object through the selection item by calling [getPointEntity()](https://docs.techsoft3d.com/hoops/visualize-web/api_ref/viewing/classes/SelectionItem.html#SelectionItem.getPointEntity).

1. It does not look like your block models have any polylines when viewed in the Web Viewer:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/4/429083b1bb4916a6568426950b2b8dc5bd87e73c.png)

Please check that your code is using valid data for the `polyline_elements`.

---

<div class="post-metadata">

**Author:** ![38422985](https://avatars.discourse-cdn.com/v4/letter/3/34f0e0/32.png) [@38422985](https://forum.techsoft3d.com/u/38422985)\
**Post date:** [October 14, 2025, 12:48am UTC](https://forum.techsoft3d.com/t/i-generated-a-scz-or-scs-model-file-but-there-are-nothing-on-the-mode-wireframe-why/4960/3 "2025-10-14T00:48:32Z")

</div>

Hello Tino  
I have added the lines and points like this：

```auto
        scMesh.polyline_elements.emplace_back();
        SC::Store::MeshElement& scEdges = scMesh.polyline_elements.back();
        scEdges.indices.push_back(startIndex);
        scEdges.indices.push_back(endIndex);

        scMesh.point_elements.emplace_back();
        SC::Store::MeshElement scPoint = scMesh.point_elements.back();
        scPoint.indices.push_back(nIndex);

        scModel_.Insert(scMesh);

```

what’s wrong？  
Thanks a lot！

---

<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:** [October 14, 2025, 1:17am UTC](https://forum.techsoft3d.com/t/i-generated-a-scz-or-scs-model-file-but-there-are-nothing-on-the-mode-wireframe-why/4960/4 "2025-10-14T01:17:43Z")

</div>

The code itself looks correct but please confirm that the values are expected when looping through the points array.

As a reference, you can take a look at _HOOPS\_Visualize\_Web\_2025.X.x\authoring\libsc\examples\authoring\_samples.sln_ and do a search for `polyline_elements`.

---

<div class="post-metadata">

**Author:** ![38422985](https://avatars.discourse-cdn.com/v4/letter/3/34f0e0/32.png) [@38422985](https://forum.techsoft3d.com/u/38422985)\
**Post date:** [October 14, 2025, 1:33am UTC](https://forum.techsoft3d.com/t/i-generated-a-scz-or-scs-model-file-but-there-are-nothing-on-the-mode-wireframe-why/4960/5 "2025-10-14T01:33:31Z")

</div>

Thanks Tino！

Let me try it!

Best Wishes!

Jenson
