Howto disable plane translation grid in CRhinoGumballDisplayConduit

I’m using the sample code from @dale mentioned in the post Howto create interactive arrows for parameter changes

As far as i understood the appearance is limited to only show the Z-Translation axis, nothing else.
But when i use this sample I always get the plane translation grid in addition (marked with red circles in the screenshot).

How can i disable those grids?


Hi @dsw,

In the referenced sample’s CCommandSampleGumballCylinder::GumballAppearanceSettings member, add the following line:

ga.m_sizes.m_gumball_ptran_size = 0;

– Dale