Getting all points of a curve using a script

 From:  Max Smirnov (SMIRNOV)
6257.29 In reply to 6257.21 
new version of the script.

EDITED: 7 Mar 2022 by SMIRNOV