JJJ: Setpoint "Pick the next item to number" 1 pointval x,y,z 1 >Pointselect { SetHandle { Sys(9) then print "Dumdum, there are only ",Sys(9)," objects in your drawing! (Hit a key)" anykey goto JJJ endif if NewNum = OldNum then goto JJJ if NewNum < OldNum then gosub CaseL goto JJJ else gosub CaseG goto JJJ endif Goto JJJ CaseL: Total = Sys(9) 'The total number of entities in the drawing >Copy { } >Paste {'Pastes the entity (at the first point, right on top of the source) Copy { } Putattr t,1,0 If t <> OldNum then >Paste { SetHandle { Move { Cut { } Next >Regenerate { } return CaseG: Total = Sys(9) 'The total number of entities in the drawing >Cut { } >Paste {'Pastes the entity (at the first point, right on top of the source) Copy { } Putattr t,1,0 >Paste { SetHandle { Move { Cut { } Next >Regenerate { } return