i am relatively new to Python and i need some help after investigating hours and hours for a solution.
I try to resolve a clash with a python node in dynamo.
I have a mobile crane(loadable family) which can be controlled with some parameters. The angle of the crane’s arm can be changed via the parameter “Auslegerwinkel”. I achieved a changing of the value with the python code once, but i want to iterate over a loop, change the degree by +1 and check every time, if the change of the angle resolves the clash. If so, the method should stop.
I imported the bimorphnode for using the ElementsIntersect method, but every time I run the script I get the following error:
Type Error: “expected List[Element], got FamilyInstance”
Can someone explain to me, what am I missing here?