SOLVED Handles in R18

Hello,
I'm working to make my plugin compatible with R18. It will render with the Viewport Renderer (or Hardware OpenGL as it was called). I'm filtering out all items from my Viewport except for Polygons & Generators, however the handles are still being rendered. I see that the BASEDRAW_DISPLAYFILTER_HANDLES filter was added in R19. Is there a way to filter out the handles in R18?

Here is some test code and the result...

import c4d

def main(doc):
    bd = doc.GetActiveBaseDraw()
    bd[c4d.BASEDRAW_DISPLAYFILTER_BASEGRID] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_BOUNDS] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_CAMERA] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_DEFORMER] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_GENERATOR] = True
    bd[c4d.BASEDRAW_DISPLAYFILTER_GRADIENT] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_GRID] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_GUIDELINES] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_HANDLEBANDS] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_HIGHLIGHTING] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_HIGHLIGHTING_HANDLES] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_HORIZON] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_HUD] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_HYPERNURBS] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_JOINT] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_LIGHT] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_MULTIAXIS] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_NGONLINES] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_NULL] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_OBJECTHANDLES] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_OBJECTHIGHLIGHTING] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_ONION] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_OTHER] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_PARTICLE] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_POI] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_POLYGON] = True
    bd[c4d.BASEDRAW_DISPLAYFILTER_SCENE] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_SDS] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_SDSCAGE] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_SPLINE] = False
    bd[c4d.BASEDRAW_DISPLAYFILTER_WORLDAXIS] = False
    c4d.EventAdd()

if __name__=='__main__':
    main(doc)

Handles.jpg

Thank you very much!

Hi @blastframe,

thank you for reaching out to us. This is unfortunately not supported in R18, even within the app, as demonstrated below.

519a14d4-73cc-43a9-a52e-538242558853-image.png

And due to R18 having left the support cycle, this will also not be fixed anymore. Your best option is to deselect the object which you do not want to display the handles for.

Thank you for your understanding,
Ferdinand

Hi @blastframe,

thank you for reaching out to us. This is unfortunately not supported in R18, even within the app, as demonstrated below.

519a14d4-73cc-43a9-a52e-538242558853-image.png

And due to R18 having left the support cycle, this will also not be fixed anymore. Your best option is to deselect the object which you do not want to display the handles for.

Thank you for your understanding,
Ferdinand

Thank you for letting me know, @ferdinand !