Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenBuildings | AECOsim | Speedikon
  • Product Communities
  • Building
  • OpenBuildings | AECOsim | Speedikon
  • Cancel
OpenBuildings | AECOsim | Speedikon
OpenBuildings | AECOsim | Speedikon Wiki Function or Method call error
    • Building Design - Wiki
    • +OpenBuildings Designer
    • +OpenBuildings Energy Simulator
    • -GenerativeComponents
      • Does Generative Components require a license?
      • Function or Method call error
      • How do I access GC tools from OpenBuildings Designer?
      • Bentley BIM Modeler GC Accreditation – Program Overview
      • Bentley Accredited BIM Modeler: Computational Design Modeling with OpenBuildings GenerativeComponents
    • OpenBuildings Station Designer
    • +OpenBuildings Speedikon + Bentley Speedikon V8i
    • +Bentley Facilities Space Planner CONNECT Edition
    • +AECOsim Building Designer
    • +iModel Plugin for Revit
    • +Social Distance Assessments
    • Working from home with OpenBuildings products
    • Working from home with Speedikon
    • +Special Interest Group (SIG) FAQs
    • +Structural Modeler_PS
    • +Configuration Explorer
    • +Legacy Products
    • +OpenBuildings Speedikon

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

    Function or Method call error

    Product(s): GenerativeComponents
    Version(s): 08.11.09.157
    Area: GC Script
    Subarea: N\A

    Problem Description

    I am working my way through a tutorial titled "How to create PointGrid from point text file" (http://www.youtube.com/watch?v=vv9jmLGeak0), but unfortunately my first attempt failed with the error massage: "An exception occurred while attempting to apply your changes. Error in line 18, column 144 of Anonymous chunk provider. You’re trying to ´call´ something that’s not a function or method pt (count)".

    Steps to Resolve

    The only obvious items out of place appear to be:

    1. Replace "points.txt" with "".\\points.txt" to denote the point files' active directory

    2. From line 14 in function.txt replace the parentheses with square brackets:

    pt01[j] [i].ByCartesianCoordinates (cs, pt (count).X.pt (count).Y.pt (count).Z);

    should be

    pt01[j] [i].ByCartesianCoordinates (cs, pt [count].X.pt [count].Y.pt [count].Z);

    • GC Script
    • error
    • GenerativeComponents
    • Share
    • History
    • More
    • Cancel
    • Steve Cocchi Created by Bentley Colleague Communities MVP Steve Cocchi
    • When: Fri, May 15 2015 6:31 PM
    • Marc Thomas Last revision by Bentley Colleague Marc Thomas
    • When: Fri, Feb 12 2021 7:07 AM
    • Revisions: 7
    • 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