CommandStyle.DoNotRepeat does not work in combination with CommandStyle.Hidden


(Menno Deij - van Rijswijk) #1

If I put the following attribute to my command the “DoNotRepeat” function does not work

[CommandStyle(Style.Hidden | Style.DoNotRepeat)]

But, if I put only

[CommandStyle(Style.DoNotRepeat)]

the command can’t be repeated as is desired. Is it possible to make a hidden, unrepeatable command?

this is with RhinoCommon btw


(Steve Baer) #2

This combination currently is not implemented. It has been added to our bugtracker at
http://mcneel.myjetbrains.com/youtrack/issue/RH-20826


(Menno Deij - van Rijswijk) #3

Ok, thanks for the quick answer.