Translation:
The object can have, in addition to 3 palettes, up to 5 functions. In most cases, their names correspond to functions from the script. For example: PosX = %HI_SetPosX.
The functions take a single parameter: a D2000 object or a local variable that can be controlled by an expression.
Meaning: This solution does not burden communication with the script—it does not fill the queue of HI messages coming from the script and the kernel. As a result, it places a significantly lower load on the HI process.
Change order within the pallet type
Copy connected value between palettes
Implemented functions:
| Enable | Funkcia Enable zakáže/povolí prístup na grafický objekt | %HI_SetEnable |
| Visible | Funkcia Visible skryje/zobrazí grafický objekt | %HI_SetVisible |
| PosX | Funkcia PosX nastaví súradnicu X danému grafickému objektu | %HI_SetPosX |
| PosY | Funkcia PosY nastaví súradnicu X danému grafickému objektu | %HI_SetPosY |
| PosX+ | Funkcia PosX+ posunie súradnicu X danému grafickému objektu | %HI_SetPosX (%HI_GetPosX+hodnota) |
| PosY+ | Funkcia PosY+ posunie súradnicu X danému grafickému objektu | %HI_SetPosY(%HI_GetPosY+hodnota) |
| SizeX | Funkcia SizeX nastaví šírku grafického objektu | %HI_SetSizeX |
| SizeY | Funkcia SizeY nastaví šírku grafického objektu | %HI_SetSizeY |
| DistX | Funkcia DistX nastaví vzdialenosť od jedného bodu objektu k nasledovnému bodu na osi X | %HI_SetDistX |
| DistY | Funkcia DistY nastaví vzdialenosť od jedného bodu objektu k nasledovnému bodu na osi Y | %HI_SetDistY |
| LineWidth | Funkcia LineWidth nastaví hrúbku čiary | %HI_SetLineWidth |
| Text | Funkcia SetText nastaví text grafickému objektu | %HI_SetText |
| SetLineTerminator | Funkcia SetLineTerminator nastaví spôsob ukončenia čiary a aj podčiar v viacnásobnej čiare | %HI_SetLineTerminator |
| ForeColor | Funkcia ForeColor nastaví grafickému objektu farbu popredia | %HI_SetForeColor |
| BackColor | Funkcia BackColor nastaví farbu pozadia pre grafický objekt | %HI_SetBackColor |
| BackColor2 | Funkcia BackColor2 nastaví druhú gradientovú farbu pre grafický objekt | %HI_SetBackColor2 |
| TextColor | Funkcia TextColor nastaví grafickému objektu farbu textu | %HI_SetTextColor |
Príklad:
Here is an example of a simple clock in a scheme with its center at **[100,100]**, implemented **without using a script**—the highlighted point moves simultaneously with the second hand.
Related pages:


