One can see all objects currently available in the model listed in the object tree shown in the EbsScript-Editor (make sure View-Toolbars-Objects is activated). Objects in turn offer particular EbsScript functions which can be invoked only via the object name. An example is the function interpolate for an object of type ebscharline.
Name |
Purpose |
method |
Return value |
Example |
ToArray |
These functions enable a data exchange between characteristic lines or matrices of Ebsilon components and EbsScript arrays.
|
ar:=ebscomp.ebscharline/ebsmatrix.toarray; |
REAL: ar: array of |
var |
FromArray |
These functions enable a data exchange between EbsScript arrays(ar) and characteristic lines or matrices of Ebsilon components. |
ebscomp.ebscharline/ebsmatrix.toarray(ar); |
REAL: ar: array of |
|
Interpolate |
For characteristic lines, it is possible to access the interpolation functions of the component from EbsScript, i.e. to determine the value of the characteristic line at one point. |
y:=ebscomp.ebscharline.interpolate(x: real); |
REAL: y-value |
var x:=5000 end.
|