Hello,
I have been playing some time in pyhton script, so far with the help of the forum I have done very good things.
But now I have a doubt that I did not find a way to do it in python (at least I did not find it).
So, I need to create a form (panel) but that is integrated with rhino, type the panel properties, and I can play at same time that I draw.
Like this,
Or like this,
I did not find out how to do this with python, so I looked for a way to do with visual studio and vb plugin, I’m still trying to unmanage how visual studio and VB works, but before I continue, and because the learning curve will be long, I would like to know, how can I do this and where?
thanks
1 Like
nathanletwory
(Nathan 'jesterKing' Letwory)
October 16, 2018, 4:52pm
2
Hey,
Check the python scripts with Eto in their names:
Is there anything useful for you here?
Hello
Thank you for replay, the problem is that Eto dont Dock on rhino layout and, Eto build a form and can not draw while the form is running.
nathanletwory
(Nathan 'jesterKing' Letwory)
October 16, 2018, 5:11pm
4
It is possible to create Eto dialogs that doc in the panels. Not entirely sure how easy that is to do with Python.
Check the modeless dialog for one that runs while still being able to interact with Rhino.
@dale , @pascal do you happen to have some python code that creates a dockable Eto panel?
If not I’ll try writing some code.
1 Like
pascal
(Pascal Golay)
October 16, 2018, 5:12pm
5
I do not. I have not really delved much into Eto yet…
-Pascal
nathanletwory
(Nathan 'jesterKing' Letwory)
October 16, 2018, 5:13pm
6
What a better time than right now?
2 Likes
nathanletwory
(Nathan 'jesterKing' Letwory)
October 16, 2018, 5:16pm
7
nathanletwory
(Nathan 'jesterKing' Letwory)
October 16, 2018, 5:32pm
8
Oh right, I guess it is going to be difficult to do this in a python script, since registering such a panel will require a plug-in to be implemented… Is that even possible?
nathanletwory
(Nathan 'jesterKing' Letwory)
October 16, 2018, 5:34pm
9
@MatrixRatrix for now the modeless form sample should get you going with creating a non-blocking dialog for your python script
Thank you, let me explore this form.
clement
October 17, 2018, 9:02pm
11
Hi @nathanletwory , please read this thread, it is from 2015 an unfortunately, nothing new until now… it has been mentioned here too.
_
c.
_AS
(InQuisitiveAS)
March 27, 2023, 8:32pm
12
Anybody has an idea or sample python script which can specify a Docking position for Eto form next to Properties panel in Rhino UI??
Hi @_AS , it is still not possible using Python, sorry.
I hope someday @stevebaer will make it, the initial request is now 10 years old.
thanks,
c.
1 Like
_AS
(InQuisitiveAS)
March 27, 2023, 9:03pm
14
Thanks a lot clement. I appreciate this a lot.
1 Like