www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe General Support > TerraExplorer Support
  New Posts New Posts RSS Feed - script message to play a presentation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

script message to play a presentation

 Post Reply Post Reply
Author
Message
_GV_ View Drop Down
Visitor
Visitor


Joined: July 21 2016
Location: Cagliari
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote _GV_ Quote  Post ReplyReply Direct Link To This Post Topic: script message to play a presentation
    Posted: July 21 2016 at 12:44pm
Hello,

what is the code to insert in a message field of my object to play a presentation who is in the project three?

I suppose something like this:

SGWorld.IPresentation66.Play("nameOfPresentation")

but not work

Someone can help me?

Thanks.


Back to Top
Yaniv View Drop Down
Skyline Admin Group
Skyline Admin Group
Avatar

Joined: August 16 2007
Location: Israel
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yaniv Quote  Post ReplyReply Direct Link To This Post Posted: July 21 2016 at 11:23pm
Hi GV,

In order to play a presentation from a Message Tree, use this script:

itemId = SGWorld65.ProjectTree.FindItem ("PresentationGoup\MyPresentation")
SGWorld66.ProjectTree.SelectItem itemId
SGWorld66.Command.Execute 1112,0

Best regards,
Yaniv

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.