Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
GenerativeComponents
  • Product Communities
GenerativeComponents
GenerativeComponents Community Wiki Creation of Global function from Custom function
    • Sign In
    • +An Overview of GenerativeComponents
    • +Addin Content
    • +Bentley BIM Modeler Accreditation – Program Overview
    • +C# Sample Solution and other Add-ins
    • +GenerativeComponents Solutions
    • +Learn GenerativeComponents
    • +Reference Material
    • Support for GenerativeComponents
    • -Tutorials
      • 3D array copy surface
      • Add RFA data as BuildingContent to ABD with GC Extension
      • BSplineSurface.LoftCurve is throwing an error when trying to add get the curves from cell
      • Cell Feature
      • Create a Set of Random Points
      • Creation of Global function from Custom function
      • Creation of Parabolic curve
      • Error while creating GNT
      • Free Form Roof Example
      • GC Excel Feature
      • GenerativeComponents Essentials Course
      • Get Corner points of a Solid
      • How To Create Surface From Lines & Curves
      • How to Export GC elements
      • How to get concrete sections in the cross-section dialog in Generative Components
      • Landscape Bridge Example
      • +LawCurve
      • List Of Points With A Loop Example
      • Mesh feature 3d print
      • Modular Multiplication On Circle
      • +Operation Node
      • +Optimization with the Optimizer node type
      • Palm Tree Modeler
      • Point By Function Example
      • Points On Curve
      • Prime Number Pattern
      • Selection of Points
      • Selection of points based on Query Expressions
      • Selection of points based on range of indices
      • Set a New Property Value to a Set of Selected Nodes
      • Simple Bridge Example
      • Simple Equations To Describe Form Example
      • Simple Free Form Roof Example
      • Sin Tower
      • Skeleton
      • Sunflower Seed Pattern Modelling
      • Surface Division Basic Steps
      • Surface from Rails and Swept Sections
      • The use of Packager in Generative Components
      • +Tools and Techniques
      • Ulam Spiral From A Rectangular Spiral
      • Video Tutorials
      • Video Tutorials - Short Techniques
      • Working with Parametric cells
    • +User Projects
    • +Visualized Parametric Experimentations
    • +zed_Older Content

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

    Creation of Global function from Custom function

      Product(s): OpenBuildings GenerativeComponents
      Version(s): CONNECT Edition Update 8 (10.08.00.041)
      Environment: N/A

    Overview

    In this wiki we will be seeing a new feature which will help us to create Global function from Custom functions easily.  

    Step 1:

    Create a custom function in the function call dialog. Always remember to give a return type in the function dialog.




    Step 2:

    The right click on the 3 lines  and there you will find two options, choose the Promote your custom function to a named global function.




    Step 3:

    After clicking on that there we will get an dialog to give the name of the Global Function




    Step 4:

    After clicking on Ok, GC will generate the Global Function and will open the Function dialog, there we will be able to see our recently created function. 

    After creation of the Global Function, we can call that function in the respective node inside that file . Also we can create a .GCP file from the Packager node and import the same in other files.

     .

    • OBD GC
    • Custom Function
    • GCscript
    • OpenBuildings GenerativeComponents
    • Global function
    • Share
    • History
    • More
    • Cancel
    • Alifur Mandal Created by Bentley Colleague Alifur Mandal
    • When: Tue, Mar 30 2021 8:08 AM
    • Alifur Mandal Last revision by Bentley Colleague Alifur Mandal
    • When: Wed, Mar 31 2021 6:08 AM
    • Revisions: 3
    • 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