How can I change the Appearance Profile of all the Resources having a specific Property or User Fiel


The following sample scripts changes the Appearance Profile of all the Resources that has a User Field (Material) with the Value (Concrete), to Concrete Install -
TASK.ASSIGNMENT(RESOURCE.UFV ("Material") >= "Concrete") SET_PROPERTY (PROPERTY ("Appearance Profile"), ALL_USE_PROFILE (NAME == "Concrete Install"))