fmeobjects.FMEMeshPartIterator.getAppearanceReference

FMEMeshPartIterator.getAppearanceReference(front)

This method returns the appearance reference within the Library associated with this mesh part iterator. The front parameter controls whether this query should return the front or the back appearance reference. Both can be fetched independently. If this mesh part iterator is a regular mesh part iterator with no geometry instance, a FMEException will be thrown.

Parameters:

front (bool) – Indicates whether the appearance reference should be fetched for the front or back.

Return type:

int

Returns:

The unique appearance reference for this appearance.

Raises:

FMEException – An exception is raised if an error occurred or this mesh is a regular mesh part iterator with no geometry instance.