概要
Creates a new random number generator.
ディスカッション
レガシー:
arcgis.rand() は、ArcGIS Pro 2.0 以降サポートされなくなりました。arcgis.rand() 関数は、[値の計算 (Calculate Value)] および [フィールドの計算 (Calculate Field)] ツール、[乱数ジェネレーター] 環境設定、CreateRandomValueGenerator 関数を使用したランダム値の作成を中心に使われてきました。代わりに、Python の random モジュールを使用する、同等の関数を使用する必要があります。
構文
CreateRandomValueGenerator (seed, distribution)
| パラメーター | 説明 | データ タイプ | 
| seed | Initializes the random number generator. | Integer | 
| distribution | The random generation algorithm. 
 (デフォルト値は次のとおりです ACM599) | String | 
| データ タイプ | 説明 | 
| Object | A RandomNumberGenerator object. |