How to call the fillet function in glyphs in python script

How to call the roundCorner function in glyphs in python script
屏幕快照 2023-08-05 11.45.40

Check this thread: Access filter from Python - #9 by mekkablue

but how to make roundCorner for the selected node?please!!!

You set checkSelection to True.

this:

roundCornerFilter.roundLayer_radius_checkSelection_visualCorrect_grid_( Layer, noodleRadius, True, True, True )

Yes.