Skip to main content

I have around 20 models with variable geometry traits (variable in number of traits and their names). I want GeometryPropertyExtractor extracts all of models traits without I have to determine traits' names in the GeometryPropertyExtractor individually for each model.

Transformer guide advices to leave traits name blank and it can extract all of traits, I tried but did not work for me yet.

Hi @hossein​ , when the traits to extract field is left blank, all the traits are being populated as a list . You won't see the trait being exposed as attributes yet, but the information can be obtained in the feature information window:

geomatrytraits2

To use the trait information from the list you will also need to use the AttributeExposer to make it visible in the workspace. If you can use FME 2020.1 with Feature Caching, you can fetch the new List attributes using the Import from Feature Caches function at the bottom. After that, you can use all the list-related Transformers to extract the required information (ListExploder to explose all the list values as individual features, ListIndexer to copy the information from one of the list elements onto the feature, etc.)


Hi @hossein​ , when the traits to extract field is left blank, all the traits are being populated as a list . You won't see the trait being exposed as attributes yet, but the information can be obtained in the feature information window:

geomatrytraits2

To use the trait information from the list you will also need to use the AttributeExposer to make it visible in the workspace. If you can use FME 2020.1 with Feature Caching, you can fetch the new List attributes using the Import from Feature Caches function at the bottom. After that, you can use all the list-related Transformers to extract the required information (ListExploder to explose all the list values as individual features, ListIndexer to copy the information from one of the list elements onto the feature, etc.)

Hi @xilef​ and thanks for your answer. Your answer is about sketch up file. Is the situation similar when input file is an ifc file? I am not sure but I think FME IFC reader in Relational mode can extract feature information into attribute.


Hi @xilef​ and thanks for your answer. Your answer is about sketch up file. Is the situation similar when input file is an ifc file? I am not sure but I think FME IFC reader in Relational mode can extract feature information into attribute.

Hello, I don't have access to an ifc file unfortunately. If you can provide one I could verify quickly...


Hi @xilef​ , Sorry to late response. I have a 12d-derived ifc model and the only thing I can send you is a screenshot of the one record's feature information (below graphic). Feature information shows Geometry Traits under 12d Model Geometry Definition. I can extract geometry traits value using GeometryPropertyExtractor if I set geometry name = 12d Model in xQuery and set the individual Trait name. What I want is to extract traits value out of GeometryPropertyExtractor without setting Geometry Traits name. And also if it is possible to extract all Geometry Traits values in any ifc Models I have (models are authored by different software not only 12D)without defining individual Geometry Name in xQuery.

Appreciate your time and answer.

GeomertyTraits


Reply