Skip to main content

How to select a specific IFMEFace from a solid?

 

I have created a solid and want to extract face 0 and face 5. I like to have them have a name. Later on would use those names to assign a specific texture to those two faces.

 

"Part 0: IFMEFace " should have a name like "roof"

 

Hi @h1, the GeometryPropertySetter with this Geometry XQuery does that.

Geometry XQuery (Enter with Advanced Mode)

for $geom at $i in //geometry[@fme_geometry_type = 'IFMEFace']
where $i = (1, 6)
return number($geom/@fme_id)

Note that item indices are 1-based in XQuery expressions.

0684Q00000ArKe0QAF.png


I will have a look at it @takashi , thank you!


It works great! Played around with it. Thanks!