Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
Hyperview to SuperView|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
I'm attempting to convert Hyperview to Superview
In my current scene, this hyperview syntax works: (Line numbers added for reference). 1.<MTSBaseComponent CoordinateSystem="2" Rect="0 0 0 0" PreserveCamera="0"/> 2.<MTSAction Name="start_hyperview"> 3. <MTSAssignProperty Target="MTSBaseComponent::smod" Value="1"/> 4.</MTSAction> 5.<MTSInteractor Name="return_from_hyperview"> 6. <MTSHandle Event="KeyDown" Action="MTSAssignProperty" Target="MTSBaseComponent::smod" Value="0"/> 7.</MTSInteractor> 8.<MTSInteractor Name="myInteractor"> 9. <MTSHandle Event="MTXLoad:done" Action="start_hyperview"/> 10.</MTSInteractor> From the "vmp_win_340_relnotes.pdf" the Conversion is really vague:
Would the proper syntax be: For Line 1 1. SuperView, instead of, MTSBaseComponent or 2. MTSBaseComponent SuperView = "1" For Lines 3 and 6 1. "MTSBaseComponent::SuperView" value = "1" or 2. "SuperView" value = "1" Once I can get this understood I'll be able to ask more intelligent questions related to 'References' and 'Display' Thank you in advance. Laura BTW, Hope everyone had a Wild! 4th of July! This message has been edited. Last edited by: lauramb, |
||
|
|
Member |
Hi Laura,
Placing the Superview="1" in your MTSBaseComponent tag is correct ie: <MTSBaseComponent Superview="1"/> But you only place it in the MTSBaseComponent tag like that if you want the scene to immediately jump into superview. Seeing as how you don't want it to enter superview until your "MTXLoad:done" event is received, you should keep it in your action as you specified in your second point, number 1: <MTSAction Name="start_hyperview"> <MTSAssignProperty Target="MTSBaseComponent.Superview" Value="1"/> </MTSAction> (notice I used a dot [.] instead of double colons [::]. Dot syntax is preferred anymore even though Enliven publishes out with double colons (known issue with Enliven that we plan on addressing). Regards |
|||
|
|
Member |
Thank you Admin,
SuperView will really be an advance for VET, hyperview being the major feature of VET that I tell so many people about. To be able to have a character move around the desk top without interfereing with the desktop will be the icing on the cake. |
|||
|
|
Member |
Most certainly! I've already built some amazing stuff with it!
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
Hyperview to SuperView
