hexagon logo

PCL; How to create a group including only RBE2s and their independent nodes (GN)?

PCL; How to create a group including only RBE2s and their independent nodes (GN)?
Parents
  • Try this:
     
    $ create group "rbe2" with all MPCs type RBE2
    ga_group_create_groups( 1376768, "rbe2", 1, ["RBE2"], 0, [""] )
     
    $ remove all nodes in this group:
    ga_group_entity_remove( "rbe2", "node 1:#" )
     
    $ clear lista and listb
    uil_list_a.clear( )
    uil_list_b.clear( )
     
    $ get all MPCs in the group and save it as lista:
    list_create_ent_ass_group( 1, ["rbe2"], 1, ["MPC"], lista )
     
    $ create listb with all independent nodes
    STRING uil_list_create_current_list[VIRTUAL]
    list_create_node_ass_mpc( "`lista`", "listb", uil_list_create_current_list, "1.2" )
     
    $ save listb content to the group "rbe2"
    list_save_group( "listb", "rbe2", FALSE )
     
Reply
  • Try this:
     
    $ create group "rbe2" with all MPCs type RBE2
    ga_group_create_groups( 1376768, "rbe2", 1, ["RBE2"], 0, [""] )
     
    $ remove all nodes in this group:
    ga_group_entity_remove( "rbe2", "node 1:#" )
     
    $ clear lista and listb
    uil_list_a.clear( )
    uil_list_b.clear( )
     
    $ get all MPCs in the group and save it as lista:
    list_create_ent_ass_group( 1, ["rbe2"], 1, ["MPC"], lista )
     
    $ create listb with all independent nodes
    STRING uil_list_create_current_list[VIRTUAL]
    list_create_node_ass_mpc( "`lista`", "listb", uil_list_create_current_list, "1.2" )
     
    $ save listb content to the group "rbe2"
    list_save_group( "listb", "rbe2", FALSE )
     
Children
No Data