Carga las bibliotecas de DesignScript y normas de Python.
import sys
import clr
clr.AddReference(‘ProtoGeometry’)
from Autodesk.DesignScript.Geometry import *
Las entradas leste nodo se almacenan como lista en las variables IN.
espacio = IN[0]
ListaMediasPuertas = IN[1]
Incluya el código debajo de esta línea
ListaPuntosInsercionPuertas =
DistanciaAnterior=0
i=0
for elemento in ListaMediasPuertas:
while i < len(ListaMediasPuertas)
DistanciaAnterior = DistanciaAnterior + espacio + ListaMediasPuertas[i]
i=i+1
ListaPuntosInsercionPuertas.append(DistanciaAnterior)
Asigne la salida a la variable OUT.]
OUT = ListaPuntosInsercionPuertas
Hello, here is an answer in Swedish.
Hej, här är ett svar på svenska.
The default language is English, rules exist, yet not very hard to apply them.
Cordially
christian.stan
4 Likes
Hi @jesusricarte
Please read the forum rules (How to get help on the Dynamo forums ) and the community guidelines (https://forum.dynamobim.com/faq )
try to describe a minimum the problem and
by adding captures
3 Likes
Haløjsa Christian …vidste ikke du kunne svensk også
hehehe
2 Likes
@jesusricarte please don’t duplicate topics.
Closing this one and unlisting so as to not clutter the forum.
1 Like