Ask help from Mr. NXJournaling

Hi sir,

Could you help me have a look at the "NXOpen-fit curve" topic?
I have several points created in NX and want to fit a curve through these points.
When i run my code, it will have a fit curve feature created in the feature tree.
But in the code, if i want to get the fitted curve or get the tag of the feature, it will throw a "System.NullReferenceException" error. Then i found the NXobject created from fitcurvebuilder.commit is null.

Could you try and help me figure out what happens?
Thank you.