Hi,
Working on a PythonPart ScriptObject, I can easily obtain from the selection of an element (with wall filter):
- the attributes of the selected element
- geometry (dimensions, rotation, etc.)
- create a new object.
Now I'd like to be able to mass execute my script by launching the PythonPart, select several elements and create an independent PythonPart object for each wall.
I tried MultiElementSelectInteractor and a loop such as
for element in self.selection_result.sel_elements:
...
return CreateElementResult(...)
But it created only one object
Where am I wrong ?
Best
Christophe