If curve has a name and is pulled to a surface, interactively using Pull command, the resulting curve keeps the name of the original.
However, if the same is done in PythonScript using rs.PullCurve method, the resulting curve has no name. Here is an excerpt from my code:
for Id in WyborLinii1:
Linia2 = rs.PullCurve(Powierzchnia2, Id)
Expected behaviour is that the red curve should be named “FR58”, as its green ancestor.
What am I doing wrong?
(“WyborLinii1” stands for previously chosen lines, and “Powierzchnia2” is the surface that the lines are pulled to.)