Obsolete |
Replaced by a GefObject |
Syntax |
CimObject.GetObject(index) CimObject.GetObject(name$) |
Description |
Returns a CimObject object representing the child object with the specified index or name. |
Comments |
The index parameter is an Integer specifying the index of the child object. The name$ parameter is a String specifying the name of the child object. |
Example |
This example loops through all the children of an object. Dim Obj As CimObject Dim Child As CimObject Set Obj = CimGetScriptOwner() Max% = Obj.ObjectCount - 1 For Index% = 0 To Max% Set Child = Obj.GetObject(Index%) Next Index This example gets the child object named "Tank10". Dim Obj As CimObject Dim Tank As CimObject Set Obj = cimEvent.TriggerObject Set Tank = Obj.GetObject("Tank10") |
Obsolete basic extensions. |