Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Jase said:Im kinda new to Pro-E and am using WF3.0. Ive been set some tasks for my client and Im attempting the above in WF3.0 to watermark all non-Released Drawings with "FOR INFORMATION ONLY" but I keep getting a Relation error on the statement:-
IF PTC_WM_LIFECYCLE_STATE == "RELEASED"
REL_STATUS = " "
ELSE
REL_STATUS = "FOR INFORMATION ONLY"
Anyone got any ideas?
Jase
Jase said:This seems to work fine if the Note is applied to a new drawing directly but we are now trying to add this Note directly into the .frm Drawing template so every drawing that is opened and created has this Watermark applied to it.
I am using "WATERMARK" as my parameter on the part, it is part of the startpart.prt file and successfully adds a comment dependant on the "WM_PTC_LIFECYCLE_STATE" parameter to the WATERMARK parameter based upon the Relation below:-
IF PTC_WM_LIFECYCLE_STATE=="RELEASED"
WATERMARK=" "
ELSE
IF PTC_WM_LIFECYCLE_STATE=="OBSOLETE"
WATERMARK="THIS DRAWING & ASSOCIATED PART IS OBSOLETE. DO NOT USE."
ELSE
WATERMARK="THIS DRAWING IS FOR INFORMATION ONLY."
ENDIF
ENDIF
A note has been added to the .frm drawing template stating "&WATERMARK" but when a new drawing is created for the part the note reads "&WATERMARK" regardless of what the "PTC_WM_LIFECYCLE_STATE" parameter says. Any idea's? We assumed the "WATERMARK" attribute would be copied across to the drawing and referencable as per other notes on the .frm template such as "&TITLE_LINE1" or "&CUR_REV" but it doesn;t seem to be. How do we deal with this?
Jase