cellblender icon indicating copy to clipboard operation
cellblender copied to clipboard

Importing objects with same names in different metaobjects

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

If you have two meta objects each with identical named polygon objects within 
them, then CellBlender will only import one of those of objects. For example, 
assume you have the following MDL:

meta_obj1 OBJECT {
  poly_obj POLYGON_LIST {
    ...
  }
}

meta_obj2 OBJECT {
  poly_obj POLYGON_LIST {
    ...
  }
}

Only one of the "poly_obj" objects will actually be imported. However, if the 
polygon objects have unique names, then this will work correctly, as in this 
example:

meta_obj1 OBJECT {
  poly_obj1 POLYGON_LIST {
    ...
  }
}

meta_obj2 OBJECT {
  poly_obj2 POLYGON_LIST {
    ...
  }
}

In the first example, we need to take care of naming conflicts to solve the 
problem. One possibility would be to import them with  fully qualified names 
(i.e "meta_obj1.poly_obj" and "meta_obj2.poly_obj"). 



Original issue reported on code.google.com by [email protected] on 19 Mar 2014 at 11:15

GoogleCodeExporter avatar Mar 16 '15 12:03 GoogleCodeExporter