Obj with category
From SimsWiki
This is a flavour of the Set to Next (0x001F) primitive.
It will cycle through all the objects with the category you provide. It is most useful to use the Global BCON 0x0106 to set the correct value for the categories you want to use.
There are some varients on finding objects with a specific category.
Obj with category == param 0
In this varient, you first place the type you want to find in Param 0 and then iterate round your Set to Next loop.
Obj with category == temp 0
In this varient, you first place the type you want to find in Temp 0 and then iterate round your Set to Next loop.