fmeobjects.FMEMultiSolid.getAppearanceReference

FMEMultiSolid.getAppearanceReference(front)

This method returns the appearance reference within the Library associated with this solid. The front parameter controls whether this query should return the front or the back appearance reference. Both can be fetched independently. There is no checking as to whether the appearance associated with this reference still exists in the Library or not; in healthy situations it is expected to be, though. An appearance reference of ‘0’ represents the default appearance, and will not be found in the Library. ‘0’ indicates this geometry should inherit the appearance from its parent; if it has no parent then interpretation of the default appearance is left to the consumer of this geometry.

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.