I am programming in python.
I am trying to find a way to select all item’s and put them into an array so as i can do a loop later to get all control points.
The way i thought about doing this was with GetObjects() function.
The problem with this function is that when i try to loop it later with python it says GUID is a problem
When i use GetObject. I get only the objectid
When i use GetObjects i get
> [<System.Guid object at 0x000000000000002B [0e6ed349-e22e-4517-82c5-d5f6af30ecd2]>, <System.Guid object at 0x000000000000002C [82dfb54c-831a-4671-a3b8-78ad893062c4]>]
How can i get only the following from the abovementioned array?
As a reminder we are using python.!
The example code of the idea.
#pick an object object_id = rs.GetObjects("Select Surface", rs.filter.surface) #Loop between my objects for object_i in object_id: #get the surface's control points cpoints = rs.SurfacePoints(object_i)
Any ideas are welcome, either to make my solution work or any other solution to get the control points from all items in my current design sheet.