Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Is there a way to use a different parameter if your primary parameter is blank that your title block references? I want my REV cell using &ptc_wm_revision to use the parameter drawing_rev if ptc_wm_revision is blank.
example: if ptc_wm_revision is blank use drawing_rev, but if ptc_wm_revision isn't blank then use ptc_wm_revision.
This would be used if a team is creating drawings outside of windchill due to location, but when we put them into windchill at a later date then the revision assigned from windchill will override the prototype revision.
Solved! Go to Solution.
It can be done, but it isn't straight forward.
You will need to create a relation that sets drw_rev to drawing_rev if ptc_wm_revision is blank. Then use Drw_rev in your titleblock.
If ptc_wm_revision == ""
drw_rev = Drawing_rev
else
drw_rev = ptc_wm_rev
endif
You could also check for the existence of Drawing_Rev.
It can be done, but it isn't straight forward.
You will need to create a relation that sets drw_rev to drawing_rev if ptc_wm_revision is blank. Then use Drw_rev in your titleblock.
If ptc_wm_revision == ""
drw_rev = Drawing_rev
else
drw_rev = ptc_wm_rev
endif
You could also check for the existence of Drawing_Rev.