I would like to write a loop in rhino-python (or gpython) which at some point asks me to modify manually in Rhino some objects and then directly, these modifications, are later read by the script. By directly I mean, I do not wish to give to the script again these objects. Is that possible?
Let’s say I add two points in Rhino through a Python script in a certain position and get the distance among them. The, these points are baked/drawn in Rhino. Then, within the loop, python asks me to modify manually through rhino the position of these nodes. Finally, Python tells me where are these two points now and calculates again the distance between them. Since I wish to repeat this many times and for a much larger of object I would like to reduce as much as possible to manually feed back to Python the modified objects.
(then p1 and p2 are drawn/baked in rhino)
I manually modify p1 and p2
The position of p1 and p2 is updated and again the new distance d is calculated.
Any help will be welcome!