Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
GenerativeComponents
  • Product Communities
GenerativeComponents
GenerativeComponents Community Wiki Random Points
    • Sign In
    • +An Overview of GenerativeComponents
    • -Addin Content
      • L-Systems
      • Point in Polygon Test
      • Random Points
    • +Bentley BIM Modeler Accreditation – Program Overview
    • +C# Sample Solution and other Add-ins
    • +GenerativeComponents Solutions
    • +Learn GenerativeComponents
    • +Reference Material
    • Support for GenerativeComponents
    • +Tutorials
    • +User Projects
    • +Visualized Parametric Experimentations
    • +zed_Older Content

     
     Questions about this article, topic, or product? Click here. 

    Random Points

    Functionality

    These functions create a set of random points inside a given X and Y ranges.

    Function Signature

    RandomPoints() creates a set of random points. Here, the random points are not fixed. Their position always changes when the model is updated. 

    Point[] RandomPoints(int Number, int Ymin, int Ymax, int Xmin, int Xmax, CoordinateSystem CS)

    FixedRandomPoints() creates a fixed set of random points. The position of the random points is always fixed irrespective of the model changes. 

    Point[] FixedRandomPoints(int Number, int Ymin, int Ymax, int Xmin, int Xmax, CoordinateSystem CS)

    GC Packager File

    https://communities.bentley.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-28/RandomPoints.gcp

    Reference

    Create a Set of Random Points

    • update 7
    • Share
    • History
    • More
    • Cancel
    • Anik Mal Created by Bentley Colleague Anik Mal
    • When: Mon, Nov 9 2020 1:13 AM
    • Anik Mal Last revision by Bentley Colleague Anik Mal
    • When: Mon, Nov 9 2020 1:13 AM
    • Revisions: 2
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies