Wish: direct tree option edit

Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Micha
Licensed Customer
Posts: 122
Joined: Sun May 30, 2010 4:49 pm
Location: Germany
Contact:

Hi,

it could be great if by click on an option of the option tree the value is selected and can direct typed in. So with less clicks the value could be changed. For example AO distance: click on the option and simple type 5 -> enter would be the short way. See screenshot - here the "3" could be preselected.

Micha
Attachments
ScreenShot6237.png
http://www.simulacrum.de - Visualization for Designer and Architects
Win7 64 | Dual Xeon E5-2687W | 32GB RAM | 2 GTX 780 6GB | Rhino3D
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

it could be great if by click on an option of the option tree the value is selected and can direct typed in. So with less clicks the value could be changed. For example AO distance: click on the option and simple type 5 -> enter would be the short way. See screenshot - here the "3" could be preselected.
I have tried implementing this before, however auto-selecting the edit box controls introduces a lot of problems. This is primarily due to RhinoCommon or .NET (I'm not sure which) firing a "text has changed" event a second or two after you enter a new value in an edit box, so you might have max samples set to 10000, and you want to change that to 2000, and you press the '2' key and pause and the plugin receives a "change" event and changes the number of samples to 2, which is not what you wanted.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Micha
Licensed Customer
Posts: 122
Joined: Sun May 30, 2010 4:49 pm
Location: Germany
Contact:

Oh, that's hard for the programmer. ;)

Thank you Paul.
http://www.simulacrum.de - Visualization for Designer and Architects
Win7 64 | Dual Xeon E5-2687W | 32GB RAM | 2 GTX 780 6GB | Rhino3D
User avatar
formatio
Licensed Customer
Posts: 131
Joined: Sun May 18, 2014 11:00 am
Location: EU
Contact:

Hi Paul

Direct tree editing would be great :)

I have another idea - would it be possible to implement a way to choose (in some config screen or maybe using a config file) which nodes to show and which to hide?
For example I mostly use the same set of nodes and there are some nodes that I never touch (actually there is quite a lot of them).
Managing nodes visibility in the tree would greatly improve the workflow since it would be much easier to find that particular node :)

Regards,
Mac
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I have another idea - would it be possible to implement a way to choose (in some config screen or maybe using a config file) which nodes to show and which to hide?
For example I mostly use the same set of nodes and there are some nodes that I never touch (actually there is quite a lot of them).
Managing nodes visibility in the tree would greatly improve the workflow since it would be much easier to find that particular node
What a good idea! There could be an "Expert" mode, which shows all nodes, but in "Normal" mode, any node name you have in a particular XML file is hidden. I will assess the viability of this.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
formatio
Licensed Customer
Posts: 131
Joined: Sun May 18, 2014 11:00 am
Location: EU
Contact:

Cool.

I think that the good way to use a xml config file would be by editing some kind of a flag next to a node name (for example ON or OFF) so we have all the nodes names in config file all the time and we could simply switch them without removing/adding.

Regards,
Mac
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I have another idea - would it be possible to implement a way to choose (in some config screen or maybe using a config file) which nodes to show and which to hide?
For example I mostly use the same set of nodes and there are some nodes that I never touch (actually there is quite a lot of them).
Managing nodes visibility in the tree would greatly improve the workflow since it would be much easier to find that particular node
I had a detailed look at this, and it is unfortunately not viable. There is no way to "hide" and tree node in the .NET GUI. So the only way to hide a node would be to not create it at all, and the Octane node are store in the tree nodes, so there would be Octane nodes with no corresponding tree node and that creates a lot of problems. Sorry.
Direct tree editing would be great
This would be nice to have, but creates a lot of problems due to the edit boxes gaining and loosing focus resulting in the render restarting, which I think will be unacceptable for you.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
formatio
Licensed Customer
Posts: 131
Joined: Sun May 18, 2014 11:00 am
Location: EU
Contact:

Hi Paul,

Too bad, but I get it :)

But I figured out another question: Is it possible to use rhino command line to edit nodes? for example a command like: OctaneSamples [Enter] 2048 [Enter] - sets render samples to 2048 without even opening octane tab.

That would be fantastic workflow boost if we could use commands - I could simply create separate toolbar with most common commands and voila. Maybe we could execute more commands in chain to change more nodes parameters at once (something like presets come to my mind but I know it can cause errors if non-existent command were inputted in chain).

(I'm not sure but I think that command line editing was already mentioned somewhere on the forum)

Regards,
Mac
User avatar
face_off
Octane Plugin Developer
Posts: 15717
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Is it possible to use rhino command line to edit nodes? for example a command like: OctaneSamples [Enter] 2048 [Enter] - sets render samples to 2048 without even opening octane tab.
Pls see viewtopic.php?f=41&t=42587&p=250347#p250347

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
neiwei845458454
Licensed Customer
Posts: 86
Joined: Fri Jan 23, 2015 3:32 am

Hi,
OctaneChangePinValue maxsamples it has not work well, I have tested please check ;)
Post Reply

Return to “Rhinoceros 3D”