cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

PDMLink created on date in a Creo drawing for revisions

sarmstrong
1-Visitor

PDMLink created on date in a Creo drawing for revisions

I want to use the PDMLink created on date to automatically populate revision dates in our revision block.  The problem is that if a new revision is created the date changes to the latest date.  How can we make the date revision specific?

4 REPLIES 4
TomU
23-Emerald IV
(To:sarmstrong)

You can't.  It will have to become either dumb text or be linked to a Creo parameter that does not change (containing dumb text).

BenLoosli
23-Emerald II
(To:sarmstrong)

You can capture the date in a revision specific parameter and use that in your revision block.

if revision == '1'

Revision1_date = EXTRACT(PTC_WM_CREATED_ON,1,10)

else

if revision == '2'

Revision2_date = EXTRACT(PTC_WM_CREATED_ON,1,10)

else

if Revision == '3'

Revision3_date = EXTRACT(PTC_WM_CREATED_ON,1,10)

endif

etc....

Then use the &Revision#_date in your table for each revision.

Ben,

So I will need to add these parameters in my models correct?

Scott

BenLoosli
23-Emerald II
(To:sarmstrong)

Yes, we had something similar in our start parts.

We captured the initial created date and user initials.

You may want to use modified_on rather than created_on. Created _on does not change when you revise a part from 1 to rev 2.

Announcements


Top Tags