To scripting world
I want to trim a line with another line or a point, but when I try with this code:TrimCrv = Crv.Trim(A,B)
the conclusion is that: Line object has no attribute trim.
what can I do? because it doesn’t know line similar to curve.
and another question is that if there is solution to trim a line with another line or polygon?
Reza
Hi Reza, you might convert your line to a curve using below before using Trim
:
curve = line.ToNurbsCurve()
_
c.
Thank you. it works.