(1) about shape adjusting.
It seems there is some API in Revit, that can adjust shape of sketch.
please see the two links below.
(2) well I know, I can select/unselect for the “given” Elements. In your example “graphical elements”
What I need is, “unselect all” or “reset selection”, if there are in Revit already selected elements, but which are not fed in RI.
I wrote a clash check script with RI, but I need to always manuelly reset the selection in revit, before I check the next pair of elements…