08-24-2020, 04:57 PM
Hi,
You can iterate over all pieces of a type using (forEach Piece "PieceName" ...) then you can apply the LOS test to each (to) site.
When you're doing a (forEach Piece ...) iteration the (to) refers to the current piece being iterated over.
Regards,
Cameron
You can iterate over all pieces of a type using (forEach Piece "PieceName" ...) then you can apply the LOS test to each (to) site.
When you're doing a (forEach Piece ...) iteration the (to) refers to the current piece being iterated over.
Regards,
Cameron