RS 5.11 API - popup window implementation
jawojtek
✭
in RobotStudio
Hello!
I'd like to know how to use a kind of popup window in RobotStudio in order to make my VSTA scripts more universal.
I wrote a script that loads a detail (library) and places it relatively from specified workobject. Generally it works fine but I'd to set all properties (like displacement matrix and selected wobj) in a popup window similar to the Set Position Window. Is it posible to make it using only public RS API? Are there some examples or tutorials of such a "popup window"?
The functionality of my application is bad 'cause not everybody knows how to edit VSTA scripts. I'd like to make some kind of closed application which can be used by anyone who uses RS.
thanks for any help!
Ps. I've heard about avalibility extended RS API for people outside the RS Development Team - can anyone provide me with some details?
I'd like to know how to use a kind of popup window in RobotStudio in order to make my VSTA scripts more universal.
I wrote a script that loads a detail (library) and places it relatively from specified workobject. Generally it works fine but I'd to set all properties (like displacement matrix and selected wobj) in a popup window similar to the Set Position Window. Is it posible to make it using only public RS API? Are there some examples or tutorials of such a "popup window"?
The functionality of my application is bad 'cause not everybody knows how to edit VSTA scripts. I'd like to make some kind of closed application which can be used by anyone who uses RS.
thanks for any help!
Ps. I've heard about avalibility extended RS API for people outside the RS Development Team - can anyone provide me with some details?
Wojciech Wlodarski
PLABB
PLABB
0
Comments
-
Hi,
Here is a little example for a docked window.
ToolWindow tw = new ToolWindow("SOME_UNIQUE_ID");
tw.Caption = "MyWindowCaption";
// replace Form with your GUI
Form form = new Form();
form.Width = 250;
tw.Control = form;
UIEnvironment.Windows.AddDocked(tw, System.Windows.Forms.DockStyle.Right);
regards
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings