- FMELibrary.replaceAppearance(appearanceReference, newAppearance)
Replaces the Appearance with a new one at index = ‘appearanceReference’. A
FMEExceptionis thrown if ‘newAppearance’ is
None, ‘appearanceReference’ is not a valid index ,or the existing shared object is not an appearance type. If the ‘newAppearance’ successfully replaces the existing appearance, the library consumes the ‘newAppearance’.
appearanceReference (int) – The index of the Appearance to replace.
newAppearance (FMEAppearance) – The new appearance to replace the original with.
- Return type
FMEException – An exception is raised if an error occurred.