I'm trying to use the AddPoints() function from the API to add points to an object in my station. I have a list of points that were in a 1XN array where each element was a x,y,z coordinate. I used a loop to put the coordinates in a 3XN matrix since that is what the AddPoints() function accepts, but I'm getting an error from the script stating "points must be a 3XN or 6XN list or matrix". I have attached the error message and Python script.
This is the most updated Python script. I can't delete the old one
This is the most updated Python script. I can't delete the old one