Compound Cell

Hi,

I'm trying to create a new compound cell with the compoundcell node, but I can only replace already existing cells. Is it possible to create a new cell with a new name using this node?

Thank you.

Parents
  • Hi Pedro,

    Yes, it is possible to generate new compound cells. Once you have created and identified the cell library to which you want to generate the compound cells, if all inputs are provided, for each update of the CompoundCell node a compound cell is generated into the library. Of course, only compound cells with unique names are creating new entries. The attached video shows how it is possible to create a set up for controlled creation of compound cells. The compound cell is added as the last transaction. Cell names are created by an expression, reflecting the changed inputs. Cells with the same inputs create the same name, overwriting any previous versions of that cell with the same name (in case there is some other change in what the compound cells look like).  

    There are two ways how this set up can be utilized: do not play the last transaction, find the settings for the cell that you want to create, play the last transaction and that cell will be written to the library. Unplay the compound cell transaction (the new parameters will create a new transaction above the compound cell transaction and can form a record of the compound cell versions that have been generated in case updates are required later), find a new parameter set, play the compound cell transaction, etc. In order to see the generated compound cells toggle to another cell library and back to refresh the list.  

    The generated parameter set transactions can be suppressed and their headers amended to provide additional information.  

    The second way is to activate the last transaction and then change parameters. This will generate compound cells for any unique parameter sets that are activated. The same parameter set generates the same cell name, effectively overwriting the cell that was previously generated with that same name already. When unplaying/deactivating the compound cell transaction, only the last parameter set will be saved in a new transaction below the compound cell transaction. This means there won't be any record of all but the last version (aside the fact that the compound cells have been generated).

    Attached are the video, the ABD-GC V8i SELECTseries 6 Update 1 (version 08.11.09.436) DGN and GCT files of what is shown in the video.  Note that it may be necessary to replace the compound cell node in order to make the correct connection to whichever compound cell library you have created or are using.

    Regards,

         Volker

    ABD-GC 436 CompoundCellFactory.dgn 

    https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/360/ABD_2D00_GC-436-CompoundCellFactory.gct

       

    Answer Verified By: Pedro Serra 

  • Hi, Volker!
    Thanks a lot for this example, it's very helpful
    The only issue is that there are more solids in the cell, than we are planning to have: 6 instead of 3
     

    Obviously solids multiply in order of adding them to cell: LeftJamb goes first and there is 1 instance, RighJamb goes second and there are 2 instances, and Lintel goes third and there are 3 instances.

    It is not crucial problem, but makes managment of graphic a little bit more complicated.
    May be I'm doing something wrong, or is it common problem?

  • Just have checked this pint in CONNECT Edition, there is no this kinf of problem there.

Reply Children
No Data