Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
GenerativeComponents
  • Product Communities
GenerativeComponents
GenerativeComponents Community Wiki Cell Feature
    • 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. 

    Cell Feature

    In this Example learn how to work with the Cell Feature from Microstation in to GC.

    Created by Carlos Gonzalez

    File Example

    1. First step is generate a CELL inside Microstation.

    -Open a new dwg file inside Microstation

    -Draw your objects before you convert it to a cell.

    -From MicroStation menu, select element>cells. The cell library dialog box will be opened. Take a look to the dialog title. It says cell library: [NONE].

    no_cell_library_attached

    It means that we haven’t attached any cell library yet. From this dialog menu, click file>new. Type a name for the new cell library. Something like Training Cell will do. Click save. (This is the library that you will need to place the CELL inside GC, the file has to be saved in the same folder as the GC file)

    -The create cell button is disabled. We need to define the cell origin before we start creating it.  From navigation taskclick and hold on place active cell, choose define cell origin from the drop down menu.

    -Place the origin at the center of the symbol. Origin is the base point or reference point that you will use when placing the cell inside GC. 

    -Click the create button. Give the cell proper name and description. (This is the name that you will need to place the CELL inside GC)

     

     2. Place the Cell inside GC by Coordinate System Or Point With Optional Scaling.

    -transaction modelChange "place cell"
    {
        node Bentley.GC.UI.Example.Objects.cell01 Bentley.GC.Features.Cell
        {
            Placement                 = baseCS;
            CellName                  = "my_cell"; This is the name of the CELL created in Microstation
            LibraryName               = ".\\cellLibrary.cel"; This is name of the library created in the dwg file, this file has to be in the same folder as the GC file 
        }
    }

     

    To place the cell you can use a single point, or a series of points in a line or using a surface to create points using UV values. If you want to scale and rotate each CELL, use a universal coordinate system on a point grid!

    • Share
    • History
    • More
    • Cancel
    • Carlos David Created by Bentley Colleague Carlos David
    • When: Thu, Jun 16 2011 2:41 PM
    • Carlos David Last revision by Bentley Colleague Carlos David
    • When: Thu, Jun 16 2011 3:58 PM
    • 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