Create a BUTTON, Invert Hide in detail

Steps I have taken:
New Button
Text Only (invert hide)
LEFT MOUSE BUTTON
COMMAND
Invert_HideInDetail
then OK

and I get an UNKNOWN COMMAND error when I use it.
I have tried a dash instead of underscore.
I have tried all caps, all lower case
I have tried swapping the order…

I know this can be done. What am I doing wrong?

1 Like

Hi Brian - there needs to be a space between inputs (Commands or options) in a macro. An underscore does not count as a space - it is part of the command or option that follows it.

_Invert _HideInDetail

https://docs.mcneel.com/rhino/8/help/en-us/index.htm#information/rhinoscripting.htm?Highlight=Scripting

-Pascal

1 Like

This would be a useful button. I use the command prompt and invert hideindetail alot lol.

!_Invert
_HideInDetail
_Enter

I wonder if there’s a way to stall the macro prior to activating the detail view, then invoke selection etc., and right click to complete…

Might be a tangent but this is awesome:


:face_with_monocle::star_struck: :sunglasses: :beers: R8 is awesome!

Bingo! Thanks!

1 Like

Perftect! Thank you!

1 Like

Maybe the key is here:


:face_with_monocle: :thinking: :thought_balloon:hmmmm

Might only need to pause once, if just using invert. But not sure how many selections there might be prior to invert…

Yeah I’m not sure what to do about the selection count requisite…
!_Detail
_Enable
_Pause
_Select
_Pause 10
_Invert
_HideInDetail
_Enter

Instead of ‘pause 10’ I’d need it to be an n^th of any number but ‘right click’ to complete or something.

Actually it works with one pause after select so:

!_Detail
_Enable
_Pause
_Select
_Pause
_Invert
_HideInDetail
_Enter

Just one more thing to add brb.

lol this is so cool:

!_Detail
_Enable
_Pause
_Select
_Pause
_Invert
_HideInDetail
_Detail
_EnablePage
_Enter


lol Imma have fun using this tool. Not sure what icon it should have though :thinking: :thought_balloon: :sweat_smile: