xetra11 Posted July 15, 2016 Share Posted July 15, 2016 Hey guys!The doc of GuiTreeViewCtrl tells me that there is a way to insert a SimGroup / SimSet as the tree for the whole.Where its been written down -> http://torque-3d.readthedocs.io/en/latest/script/class/GuiTreeViewCtrl.htmlThere is a function "open" which is described as Set the root of the tree view to the specified object, or to the root set. So what I now did is created a SimXmlDocument and parsed in a XML File. This works fine. But when I want to open this file with this function:void GuiTreeViewCtrl::open(SimSet obj, bool okToEdit) Things go wrong?Thats because it awaits a SimSet as first param - but the SimXmlDocument is a SimObject...so what to do now? Is there a factory function to create a SimGroup/Set out of that?Charlie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.