how to Create PolyLine using an array of points with 100 elements
-
yes you can.
Use the function CreatePolyLine from the module XCoreModeling
This function takes a list of points as input. Points need to be Vec3 objectssmth like:
import XCoreModeling
from s4l_v1.model import Vec3
#points is your array of 100 points with spatial coordinates
points = [Vec3(p) for p in points]
XCoreModeling.CreatePolyline(points)