GetBaseClass.AcceptCustomMessage


#1

Hi @dale, i would like to understand what these two methods do:

GetBaseClass.AcceptCustomMessage
GetBaseClass.CustomMessage

The helfile does not have any helptext for these.

_
c.


(Dale Fugier) #2

Hi @clement,

The C++ SDK help pretty much sums it up.

CRhinoGet::AcceptCustomWindowsMessage

ā€“ Dale


#3

@Dale, thank you. I actually found what i am searching for in this link, it is AddCommandOption with the argument hidden=True. Is there a way to do it in RhinoCommon ? Currently i use AcceptString(True) in my option getter and check for StringResult as a replacement.

_
c.


(Dale Fugier) #4

Hi @clement,

I think what you are already doing is a good alternative, being that the option (you describe) is not available.

ā€“ Dale