FME Library class.
Contains shared objects used by multiple features. Appearances and
textures for all features are stored in this library.
|
|
|
|
|
__init__()
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
a new object with type S, a subtype of T
|
|
int
|
addAppearance(appearance)
This routine adds the appearance object to the Library. |
|
|
int
|
|
int
|
addTexture(texture)
This routine adds the Texture object to the Library. |
|
|
None
|
deleteAppearance(appearanceReference)
Deletes the appearance with the appearanceReference index. |
|
|
None
|
deleteGeometryDefinition(geometryDefinitionReference)
Deletes the Geometry Definition with the geometryDefinitionReference
index. |
|
|
None
|
deleteTexture(textureReference)
Deletes the Texture with the textureReference index. |
|
|
FMEAppearance or None
|
getAppearanceCopy(appearanceReference)
This routine returns a copy of the referenced Appearance object from
the Library. |
|
|
FMEGeometry or None
|
getGeometryDefinitionCopy(geometryDefinitionReference)
This routine returns a copy of the referenced Geometry Definition
object from the Library.If there is no such Geometry Definition in
the Library, None is returned. |
|
|
FMETexture or None
|
getTextureCopy(textureReference)
This routine returns a copy of the referenced Texture object from the
Library. |
|
|
bool
|
hasEntry(reference)
Returns true if the library has an object with the specified
reference number. |
|
|
int
|
hasType(reference)
Returns the FME_LibraryObjectType if library has an object with the
specified reference number. |
|
|
None
|
replaceAppearance(appearanceReference,
newAppearance)
Replaces the Appearance with a new one at index =
appearanceReference. |
|
|
None
|
replaceGeometryDefinition(geometryDefinitionReference,
newGeometryDefinition)
Replaces the GeometryDefinition with a new one at index =
geometryDefinitionReference. |
|
|
None
|
replaceTexture(textureReference,
newTexture)
Replaces the Texture with a new one at index = textureReference. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|