GetNextSelectedObj
object GetNextSelectedObj (object obj )
Return Value: the next object in a multi selection after obj, or 0 if none exists.
Arguments:
obj |
previous object |
VERY IMPORTANT: DO NOT keep an object between calls to a script function, there is no guarantee that the object will still be there the next time the function is called. For example:
int
someFunc( )
{
static object obj =
GetObject("Camera");
// do something with obj
}
If the object "Camera" is deleted between calls to this function very bad things will happen. It is better to pass the Camera object as a variable to the function.
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |