About resolution of curve maker

What I am doing is to get a higher resolution of curve maker, and I changed the code in python just like the picture showing. But there is nothing happen in slicer.
Li zhenzhu.
Binzhou Medical University Hospital.2018-08-19_141001 ![2018-08-19_141839|690x248]

I would recommend to use MarkupsToModel extension instead. It offers the same features (actually, much more) and implemented in a way, that closely follows Slicer conventions. In contrast to CurveMaker, with MarkupsToModel, you can configure all options in MRML nodes, you can save the scene and reload without loss of information, you can have any number of curves, etc.