Using the IObjectManager51 and the IInformationTree5 interfaces, you can get an interface to TerraExplorer objects. If the client application created this object, you should have the interface as a return value from the Create method. You can also get an interface from an object ID by using the IObjectManager51::GetObject() method. You can use the IInformationTree methods to find the item ID from the tree, and use the IInformationTree5::GetObject() method to get an interface to the TerraExplorer object.
Note: Before version 4.5, you needed to use IInformationTree::GetTerraObjectID() method and then IObjectManager::GetObject(). It is now highly recommended to use the IInformationTree5::GetObjectEx() method instead.
See: “Finding and modifying objects” for an example code in VBScript
After you get the object’s interface you can use any of its methods or properties to change its parameters. In many cases the interfaces derive methods and properties from other interfaces.