This method sets the geometry definition reference of this aggregate, if this aggregate is not currently a geometry instance, this call will cause the aggregate to destroy all owned parts and turn the aggregate into a geometry instance.

If ‘gdReference’ reference was not found in the library, it will still attach the reference to the instance, but will this is an unhealthy situation as it represents a ‘dangling reference’ and the user should decide to remedy this by either adding a Geometry Definition with that exact reference to the library, or else remove the reference from this geometry instance.


gdReference (int) – A valid geometry definition reference to a geometry definition stored in the FMELibrary.

Return type:



FMEException – An exception is raised if an error occurred or the reference was not found in the library and a dangling reference was attached.