Sorry for posting a partial code..i'd like to post the rest but need to get permission first
Code:
(if (and (= Revision "REVONE") ;;; if variable Revision is set to REVONE
(null (tblsearch "layer" "EE-REV-1")) ;;; and layer EE-REV-1 does not exist
(command "-layer" "m" "EE-REV-1" "c" "255" "" "")) ;;; make the layer EE-REV-1
(command "-layer" "s" "EE-REV-1" "") ;;; otherwise Set layer to EE-REV-1
)
What i would like it to accomplish is when REVONE is the variable of revision is would make or set the layer to EE-REV-1