How to Edit the shape of a 3D Curve in Motion Builder 2019 by python?

Hello everyone,
Recently, I want to write a custom rigging tool in Motion Builder 2019 by Python.
Similar in Maya, I want to create some custom shapes by 3D Curve for controllers.
For example, a circle shape, a square shape or a sphere shape etc.
I can use FBCreateObject() method to create a 3D Curve object, but I don’t know how to edit the shape, i.e. edit the vertex position of the Curve.
Could anyone give me some suggestions?
Or any python method I don’t know?
Thank you very much.
Yours,
Yixiong Xu
2019.12.03

Hi,
here is good example, did you try it?
https://forums.autodesk.com/t5/motionbuilder-forum/how-can-i-make-a-circle-path/td-p/5759520

Thank you very much.
I’ll try it later.
Yours,
Yixiong Xu.