April 25, 2024 at 9:20 pm
Nicole Pan Tavares
Subscriber
I managed to do this by giving the number of lines to be selected, and thus creating the surface only in the desired region.Â
"
selection_curves = [] Â # Lista para armazenar os valores de Curves[i]
for i in range(13): Â # Iterando de 0 a 13
  curve = GetRootPart().DatumPlanes[0].Curves[i]
  selection_curves.append(curve)
selection = Selection.Create(selection_curves)
secondarySelection = Selection.Empty()
options = FillOptions()
result = Fill.Execute(selection, secondarySelection, options, FillMode.Layout, None)
"