Question

Select specific IFMEFace from solid for naming


Badge +2

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"

 


3 replies

Userlevel 2
Badge +17

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

Badge +2

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

Badge +2

It works great! Played around with it. Thanks!

Reply