Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I am attempting to set up mutliple config files depending on lifecycle / release state.
What I cannot figure out is how to make a boolen work in the condition config file as in the following:
(These are the states and parameters PTC documentation suggest, however, I want to add the AND statement for IN vs. MM)
I have tried & && and as you see AND.......
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# OVERRIDE CHECKS
IF ( NOCHECK ) NOCHECK
#Lifecycle States INCH
IF ( PTC_WM_LIFECYCLE EQ Basic ) AND ( MODEL_UNIT EQ INCH )
config=(check/basic_check.mch)(start/basic_start.mcs)(constant/inch.mcn)(status/basic_status.mcq)
IF ( PTC_WM_LIFECYCLE EQ Release) AND ( MODEL_UNIT EQ INCH )
config=(check/release_check.mch)(start/release_start.mcs)(constant/inch.mcn)(status/release_status.mcq)
IF ( PTC_WM_LIFECYCLE EQ Approval) AND ( MODEL_UNIT EQ INCH )
config=(check/approval_check.mch)(start/approval_start.mcs)(constant/inch.mcn)(status/approval_status.mcq)
IF ( PTC_WM_LIFECYCLE EQ Review ) AND ( MODEL_UNIT EQ INCH )
config=(check/review_check.mch)(start/review_start.mcs)(constant/inch.mcn)(status/review_status.mcq)
#Lifecycle States MM
IF ( PTC_WM_LIFECYCLE EQ Basic) AND ( MODEL_UNIT EQ MM )
config=(check/basic_check.mch)(start/basic_start.mcs)(constant/mm.mcn)(status/basic_status.mcq)
IF ( PTC_WM_LIFECYCLE EQ Release) AND ( MODEL_UNIT EQ MM )
config=(check/release_check.mch)(start/release_start.mcs)(constant/mm.mcn)(status/release_status.mcq)
IF ( PTC_WM_LIFECYCLE EQ Approval) AND ( MODEL_UNIT EQ MM )
config=(check/approval_check.mch)(start/approval_start.mcs)(constant/mm.mcn)(status/approval_status.mcq)
IF ( PTC_WM_LIFECYCLE EQ Review ) AND ( MODEL_UNIT EQ MM )
config=(check/review_check.mch)(start/review_start.mcs)(constant/mm.mcn)(status/review_status.mcq)
ELSE set the fallback (CADDocument OIR - LifeCycle Name at
Container level)
Any insight is welcome... : )
Thanks,
David T. Francis