...
In X-Function Builder, menu Tools: Clear Document is used to remove document related contents after duplicating an existing X-Function.
...
Provide command to open X-Function in X-Function Builder (ORG-7786)
Code Block |
---|
edit -x integ1; // Or using this integ1 -e; |
...
Support Auto checkbox for Slider control (ORG-7847)
Code Block |
---|
#include <GetNBox.h> void test_GetN() { GETN_TREE(tr) GETN_SLIDER(slider, "test", 0, "1|100|100") TreeNode trN = tr.slider; octree_set_auto_support(&trN, 1); GetNBox(tr); } |
The result dialog is:
Code Builder
Improve TreeNode display in Code Builder Variable window (ORG-8689)
Run
Code Block |
---|
void test_treenode()
{
Tree tr;
tr.a.nVal = 10;
tr.b.strVal = "Fol";
vector<int> vn = {1,2};
tr.c.nVals = vn;
vector<string> vs = {"a","b"};
tr.d.strVals = vs;
tr.e.a.strVals = vs;
TreeNode trA = tr.a;
TreeNode trB = tr.b;
TreeNode trC = tr.c;
TreeNode trD = tr.d;
TreeNode trE = tr.e;
} |
And get:
Change hot key in Code Builder, Ctrl+Shift+F for find in files, and Ctrl+Shift+C for copy full path (ORG-7919)
...
New line is \r\n by default, n = use \n as new line, r = use \r as new line.
...
Improve
...
Run
Code Block |
---|
void test_treenode()
{
Tree tr;
tr.a.nVal = 10;
tr.b.strVal = "Fol";
vector<int> vn = {1,2};
tr.c.nVals = vn;
vector<string> vs = {"a","b"};
tr.d.strVals = vs;
tr.e.a.strVals = vs;
TreeNode trA = tr.a;
TreeNode trB = tr.b;
TreeNode trC = tr.c;
TreeNode trD = tr.d;
TreeNode trE = tr.e;
} |
And get:
...
speed of OC compiler (ORG-8697)
...
Error message of X-Function shows in window (Script Window) where it runs (ORG-8836)
...
Expose Column method GetAdditionalInfo to OC for getting additional text (ORG-9101)
Code Block |
---|
void test_GetAdditionalInfo() { Worksheet wks = Project.ActiveLayer(); Column col(wks, 0); string strTextInfo; col.GetAdditionalInfo(strTextInfo); out_str(strTextInfo); } |
...
Better error checking in LabTalk function (ORG-9155)
In an OGS file, add the following script, and then run the main section, the error message will go to Message Log.
...