# Custom js code send back data to perspective

**URL:** <https://forum.inductiveautomation.com/t/custom-js-code-send-back-data-to-perspective/62488>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [July 29, 2022, 8:07pm UTC](https://forum.inductiveautomation.com/t/custom-js-code-send-back-data-to-perspective/62488 "2022-07-29T20:07:24Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 12, 2022, 12:44pm UTC](https://forum.inductiveautomation.com/t/custom-js-code-send-back-data-to-perspective/62488/21 "2022-08-12T12:44:36Z")

</div>

I have some features and if the module supplies them 1000 USD is good for it.  
1 - support custom annotations like accepting embedded view and showing it in 3d engine like 2D layer which always faces to the view. This one is really important.  
2 - If possible support cameras and select the camera as the viewport.  
3 - Trigger animations (this one is only possible if you support 3ds max animations via conversion)  
4 - direct convert obj IFC 3ds max file via the designer interface  
5 - the configuration elements are auto-generated base on all objects in the scene.  
Item 1 and 4 are very important.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 12, 2022, 1:05pm UTC](https://forum.inductiveautomation.com/t/custom-js-code-send-back-data-to-perspective/62488/22 "2022-08-12T13:05:57Z")

</div>

By the way, how can we change the cube text language from France to use the locale of the client system?  
or at least English.  
I think it should be detected automatically.  
Also please add a property to show and hide the Structure overlay.  
Supporting style for cube, Structure overlay and background is really nice.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [August 16, 2022, 7:02am UTC](https://forum.inductiveautomation.com/t/custom-js-code-send-back-data-to-perspective/62488/23 "2022-08-16T07:02:54Z")

</div>

hi @gnguyen  
I would like to add to nader's list

- Background styling
- Option to set some part of the 3d not selectable or unvisible by default.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [October 6, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/custom-js-code-send-back-data-to-perspective/62488/24 "2022-10-06T16:37:41Z")

</div>

A fix for message CLIENT\_DATA sent from JS, received by server but no perspective message sent

Thanks a lot to @nader.chinichian for bringing me up this issue.

> **[BYES-Utils-perspective-signed-1.8.8.modl](https://www.dropbox.com/s/l7252ic7a33sscj/BYES-Utils-perspective-signed-1.8.8.modl?dl=0)**
>
> Shared with Dropbox

[Previous page](https://forum.inductiveautomation.com/t/custom-js-code-send-back-data-to-perspective/62488.md?page=1)
