IF/Then to replace a blank parameter in title block format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
IF/Then to replace a blank parameter in title block format
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.
- Labels:
-
2D Drawing
-
General
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Tags:
- relations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Tags:
- relations
