algorithmic modeling for Rhino

Hi all,

It' is possible to activate remote control panel with VB component.

I would like use a Boolean for activate RCP.

Views: 1857

Replies to This Discussion

EnsureGroup() basically makes sure that there is at least one container on the remove panel. If there isn't one, it'll make one, if there already are containers, it'll return the bottom most one. When you're removing items from an RCP layout, you do not want to start making new groups.

Instead of ensuring that there was a group, I would like to create one.
Is it possible to place this in the code?

Thank you for your help.


I would like create a group:

Dim Group As grasshopper.GUI.RemotePanel.RcpGroup

Dim grp As GUI.RemotePanel.RcpLayout = GrasshopperDocument.RemotePanelLayout


i am unable to specify with a name.

Group.Name = "somename"


David Rutten

Thank you very much

David coming back to you after some difficulties.

I have not actually managed to create a group, EnsureGroup () ensures that there is one.
  If this is the case then the group used is the latest build.

I'd really like to create a new group that is to say, if EnsureGroupe () is true then create one with the name chosen
If it is necessary then create a new one with the name chosen.

In addition I have successfully converted into another id parameter (panel), but not create a new label or as separators with no id.

Thank you in advance for your help.



Perfect. Thank you very much.

This is the same as David posted, with all three examples ported to Python.

This was requested over on Discourse,

Giulio Piacentino
for Robert McNeel & Associates


I have one last request, I would like to know if it is possible to choose the position of the group at its inception.

If two groups are already filled place the group created between these two groups for example.



That is quite difficult. The order of groups is derived from their previous positioning. I.e. the order in which they appear top to bottom on the screen is not necessarily the same order they appear in the Groups property of the layout. To insert a group at a specific location you'd have to assign a specific location for the new group, so that it will be laid out in the correct order.


David Rutten

Thank you to David for his help,

Here is a link to a video showing the purpose of this post.

Full process can be imagined ...

Hi, Trying to do this using Python. Any help would be appreciated! 






  • Add Photos
  • View All

© 2022   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service