Edit Graph Window Position like with QT customUI windows

Typically: "How do I... ", "How can I... " questions
Post Reply
mthor13
Posts: 61
Joined: 03 Jul 2017, 08:32
Contact:

Edit Graph Window Position like with QT customUI windows

Post by mthor13 »

Is there away to specify the position of the graph window, like with QT customUI windows (simExtCustomUI_setPosition)?
Last edited by mthor13 on 14 Feb 2018, 16:05, edited 1 time in total.

coppelia
Site Admin
Posts: 10312
Joined: 14 Dec 2012, 00:25

Re: Edit Graph Window Position like wit

Post by coppelia »

Hello,

since V-REP 3.4.0, the graphs are displayed in custom UI windows. Until then, the graphs were displayed in floating windows, and you are not able to modify the position of a floating window. But by using simExtCustomUI_setPosition you should be able to change the position of the window.

For details, have a look at a scene that uses graphs (e.g. BarrettHandPickAndPlace.ttt) and inspect the customization script attached to object robot_robot_distance: it basically refers to a script in /lua/graph_customization.lua.

Cheers

Post Reply