APSF,0 //################################################################################ // Name : Deselect Object // Purpose : If the currently selected plan contains an object whose 'Selected'_ // state is True, then set the 'Selected' state to False // There is no 'Deselect Object' in the 'Object' menu // Requires: AP v1.5.1a1 or later // Author : Robin Lauryssen-Mitchell // Date : 27Jul2006 // Version : 1.0 // Status : Production // History : 0.1 - 27Jul2006 - Initial beta release // 1.0 - 27Jul2006 - Production release // Notes : If testing and constant declarations are not really needed // The only reason I wanted this is for script testing //################################################################################ //================================================================================ // Declarations //================================================================================ //-------------------------------------------------------------------------------- // Const declarations //-------------------------------------------------------------------------------- const cNoObject = 0 const cSelectedOff = false //================================================================================ // Main code //================================================================================ if SelectedObject > cNoObject then Obj(SelectedObject).Selected = cSelectedOff end if