Hello,
In my model,I have assigned only one time table to a each resource.
I am trying to prepare a simple GUI which helps the users to change shift of the resources. For setting current item of the combo box when the GUI is open I am trying to read the shift assigned to perticular object but i could not able to get the value of the timetable node. Below is the code snippet I have written for this purpose. @Ben Wilson @Matthew Gillespie @Brenton King @Arun KR @Jacob Gillespie
Please let me know how to get the time table assigned to a object.
treenode timetablenode = mem.find(">variables/timetables"); treenode timetable = timetablenode.subnodes[1]; string text = timetable.value; //this line code is coming as null Array Str = text.split(">"); string text1 = Str[1]; Array Str1 = text1.split("/"); String timetableName = Str1[3];