Can some one explain how we can do task listed below:
Short Expalanation. We have two input.
- Input 1: Text
- Input 2: Count
As a result we want to create list repeating same text (Input 1) at the count of Input 2.
Repeated List.dyn (3.7 KB)
is there no shorthand in design script…? i think python it is pretty smart
OUT = ["A"]*5
Nice one…what do you mean by shorthand…you had already done it in ds in your codeblock…dont think it can be done shorter in ds
f.e. double to string is just CODEBLOCK:
i can not use
["A"]*5 #thats realy short but no available in DesignScript
shorthand i mean code-comprehantions like
x == true ? true : false
Hello, unsuspected resources in the document of Mr. Sol Amour
Great seems to be a lot of option here
thats pretty cool, so you could also connect it with a count value…! thanks for the idea.
Thats great…but think that way it only accept single number or letter
Oh no! i have to be carefull with beeing happy with dynamo or Revit