But it is a fundamental part of the approach described above because it allows to control extent of Never use this option if the target model is not a new model or if you insert objects from multiple models.įrom all these PropertyTranformDelegate might seem to be little bit cryptic. It might be useful to keep labels the same sometimes. keepLabels: Option to keep entity labels the same.This is potentially dangerous as it might easily bring over almost entire model if not further constrained by propTransform delegate. includeInverses: Option to bring in all inverse entities.propTransform: Optional delegate which you can use to filter the content which will get coppied over or transform it before it gets copied.There should always only be one instance for all insertions between two models. mappings: Mappings of previous inserts.Just as a brief description of all arguments are: T InsertCopy( T toCopy, XbimInstanceHandleMap mappings, PropertyTranformDelegate propTransform, bool includeInverses, bool keepLabels) The core function which is now member of IModel interface is InsertCopy(): This is obviously potentially complex and complicated task as well but it is easier to keep For these reasons we prefer the third option which is toĬhoose what you want and to copy it over into an empty model. The data island or you want to merge it so it blends into existing data without creating duplicities and inconsistencies. It becomes increasingly difficult once you want to isolate complete data islands defining the entity and you want to either delete it without side effects on other entities outside Where it is not a problem to perform these tasks on a single entity (which you can imagine as a single line in STEP21 file) #144= IFCBUILDINGSTOREY('026ajlHVj1HBm_osQm7IDT',#47,'Lower Roof - Slab Level',$,$,#143,$,'Lower Roof - Slab Level'.ELEMENT.,3199.99999999704) Potential cyclic relations an bi-directional navigation. Merging and deleting entities in IFC models is a non-trivial task because IFC is not a hierarchical structure.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |