Viewpoint Forums
Viewpoint Forums
JavaScript
get parent instance with VET|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hello everybody!
I have 2 questions. 1)I would like to get the instance parent with VETScript I get the childs with myInstance.SceneChilds[x] but how to get the parent of an instance? I tried this properties but not work ( myInstance.parent, myInstance.parentNode, myInstance.Parent ) 2) I tried to set the property "text" of layerData with VETScript using: MTSLayerData.mouseCoords.text = "Hello"; MTSLayerData.mouseCoords::text = "Hello"; But not work Any Idea? Thank you in advance |
||
|
|
Member |
1) Would this work for you?
MTSInstances.myParentInstanceName 2) this should just be: myLayerDataName.text = "Hello"; |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
JavaScript
get parent instance with VET
