Discuss issues and ideas you have to configuring displays with PowerVision
-
doubleberry
- Posts: 1
- Joined: Fri Jul 25, 2014 2:39 pm
Post
by doubleberry » Wed Sep 21, 2016 10:04 am
I was looking at the DEMO - CustomListData example which is posted on another thread.
In the ListScripts script file I see the following:
Code: Select all
CustomListData data;
row++;
number += 2.0;
number2 += 4.0;
data.WriteInt32(CustomListColumn.MyCustomList_MyColumn1, row);
data.WriteDouble(CustomListColumn.MyCustomList_MyColumn2, number2);
data.WriteFloat(CustomListColumn.MyCustomList_MyColumn3, number);
I'm wondering if there is a comprehensive document that shows the member functions, not only for the CustomListData type, but all built-in data types as well. I'm assuming there is more powerful functionality available if these functions were published somewhere.
Thank you.
-
stalley
- Enovation Controls Development
![Enovation Controls Development Enovation Controls Development](png/enc.png)
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Post
by stalley » Thu Sep 22, 2016 3:06 pm
Hello doubleberry,
Well, doubleberry, you seem to have found some undocumented methods! Thanks for letting me know. We have been trying to do a better job at documenting, but these seemed to have been overlooked. I may move your post to the Bugs forum so that we will know to fix the problem.
For scripting, when you are editing a script, there are three tabs. The first tab is for editing the particular script. The Function Reference describes objects and methods available for each application. The third tab is the AngelScript syntax and also provides information about creating your own objects and methods in AngelScript.
The Function Reference should be where you would find information about the CustomListData and CustomListColumn objects and the methods available. I don't see documentation about the methods. Read and write as shown in the examples, are really all you can do.
Sara Talley
Software Engineer
Enovation Controls