初心者なんですがMath.RandomintergerListの作成方法教えて頂けないでしょうか?
[Edit Moderation: Translation]
I’m a beginner, can you tell me how to create a Math.RandomintergerList?
初心者なんですがMath.RandomintergerListの作成方法教えて頂けないでしょうか?
[Edit Moderation: Translation]
I’m a beginner, can you tell me how to create a Math.RandomintergerList?
Hi @adox62Y8Z ,
Welcome to Dynamo Forums.
質問をちょっと理解できないですけど、なにが知りたいですか。
①Math.RandomintergerListのノードの使い方ですか。
②Math.RandomintergerListのノードをどうやって作成しましたか。
よろしくお願いいたします。
ベブシャー・サルビオ
English Translation:
Welcome to Dynamo Forums.
I have a little difficulty understanding what you want to know.
①Is it how to use the Math.RandomintergerList node?
②Or how the node Math.RandomintergerList was created?
Glad to help you.
Bebsher Salvio
早速の返事ありがとうございます。
今、オープンストリートマップから取り出した情報から建物等の情報を取り出し、三次元形状にした物をRevitに読み込む作業をしています。
添付資料はWorkflow:Building Masses from.OSM files-Dynamo Nodes からダウンロードした物です
がExtrude Building の中のMath.Randominteger node が動きません。エラー表示されて“カスタムノードの設定がロード
されていません”が表示されます。
このグラフを作成人の環境と私の環境の違いが原因だと思います。
その為、新しく作りたいのですが、教えて頂けないでしょうか?
よろしくお願いいたします。
おはようございます。
Math.RandomintergerListのグラフはIronPythonのSystem.Randomのライブラリをつかいました。
System.Randomの説明はこちらです。
よろしくお願いいたします。
ベブシャー・サルビオ
English translation:
Good morning.
The graph of Math.RandomintergerList was created using the System.Random of the IronPython library.
The documentation for System.Random can be found here.
Glad to help.
Bebsher L. Salvio
ありがとうございました。
このpython script を使用してカスタムノードを作りたいのですが、具体的にはどの様にすれば良いのでしょうか?
よろしくお願いいたします。
お疲れ様です。
@adox62Y8Z のやりたいことがわかりません(入力情報、出力情報)のでIronPythonのオンラインの説明とかDynamoのカスタムノードの作り方などを勉強したほうがいいとお勧めです。
よろしくお願いいたします。
ベブシャー・サルビオ
English translation:
Nice work.
Since I don’t know what you want to do (inputs, outputs etc.), I recommend reading the documentation for IronPython and how to create custom nodes for Dynamo online.
Glad to help.
Bebsher L. Salvio
hello @adox62Y8Z hello @blsalvio
please translate yours posts in English (official forum language )
ありがとうございました。
トライしてみます
Email, Thank you
Let me inform that I want you to help it
Please watch an animation.
In thatThere is node called Math.RandomintergerMin.
Do not understand how to make this node.Would you teach it?
I want to know the necessary package,too
Thank you
Importing OpenStreetMap data to Revit using Elk in Dynamo (Step by step) - YouTube
Data01Math.RandomintergerMin.pdf (160 KB)
Hello @adox62Y8Z
you can try to use Python Script or Random numbers from “LunchBox” package
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
import System
min = IN[0]
max = IN[1]
num = IN[2]
random = System.Random(min)
lst = []
for i in range(int(num)):
rand = random.Next(min, max)
lst.append(rand)
OUT = lst
OK!
Thanks, I try this