fmeobjects.FMELibraryIterator
This method returns a copy of the current shared object as an appearance if |
|
This method returns a copy of the current shared object as a texture if |
|
Returns the object's reference from the |
|
This method returns the type of the current shared object. |
- class FMELibraryIterator
FME Library Iterator Class
init()
FMELibraryIterator
should not be constructed directly. Instead, use the iterator semantics ofFMELibrary
to get anFMELibraryIterator
which can be used to iterate over its librarys.- __init__(*args, **kwargs)
- getAsAppearance()
This method returns a copy of the current shared object as an appearance if
getType()
returnsFME_LIB_APPEARANCE
. Otherwise, it returnsNone
.- Return type:
FMEAppearance or None
- Returns:
An appearance representing the current object or
None
.
- getAsTexture()
This method returns a copy of the current shared object as a texture if
getType()
returnsFME_LIB_TEXTURE
. Otherwise, it returnsNone
.- Return type:
FMETexture or None
- Returns:
A texture representing the current object or
None
.
- getReference()
Returns the object’s reference from the
FMELibrary
.- Return type:
- Returns:
The object’s reference.
- getType()
This method returns the type of the current shared object.
- Return type:
- Returns:
The object’s type. Must be either:
FME_LIB_APPEARANCE
,FME_LIB_TEXTURE
,FME_LIB_RASTER
, orFME_LIB_GEOMETRY_DEFINITION
.