# 为什么在调用报错呢meshData.addFaces is not a function

**URL:** <https://forum.techsoft3d.com/t/meshdata-addfaces-is-not-a-function/4740>\
**Category:** HOOPS Visualize Web\
**Tags:** knowledge-base\
**Created:** [June 24, 2025, 10:12am UTC](https://forum.techsoft3d.com/t/meshdata-addfaces-is-not-a-function/4740 "2025-06-24T10:12:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [August 2, 2025, 12:29pm UTC](https://forum.techsoft3d.com/t/meshdata-addfaces-is-not-a-function/4740/5 "2025-08-02T12:29:05Z")

</div>

@WangFuYuan199,

So just to confirm, does the issue you are experiencing only happen when enabling the custom nav cube operator through a `modelStructureReady` callback? Are you able to use it without a callback?

Thanks,  
Tino

---

_[View the full topic](https://forum.techsoft3d.com/t/meshdata-addfaces-is-not-a-function/4740)._
