SelectID
SelectID

Selects instances based on their unique ID value.

bSuccess = myClass.SelectID( ID, Operation, bAny )

Return value
TRUE if selection was successful, otherwise FALSE.

Parameters
  • ID
    The ID to filter for
  • Operation
    The comparison operation to use, one of:
    • EQUAL
      Value must be equal to the given value
    • GREATER
      Value must be greater than the given value
    • LOWER
      Value must be lower than the given value
    • GREATEREQUAL
      Value must be greater than or equal to the given value
    • LOWEREQUAL
      Value must be lower than or equal to the given value
    • DIFFERENT
      Value must be different to the given value
  • bAny
    TRUE (default) to allow any object to be selected. FALSE to only allow objects which are already selected (de-selects objects which do not match the criteria)
Comments

Every object has a different unique ID (Hence "Unique") so this is a good way to remember and re-select a particular object.

See also
Class:GetUniqueID



JAM © 2005 no one in particular
Project started by David Evans in 2005