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

We are happy to announce the new Windchill Customization board! Learn more.

Date Parameters in WC for use with Pro/E

ptcuser2
1-Newbie

Date Parameters in WC for use with Pro/E



Anyone know how to create a date parameter which can be used to propogate
sign off dates in Pro/e files driven by release procedure in Windchill? I can
create a Date CADAttribute with Manage Global Attributes but problem is Pro/E
has NO date parameters and only strings, therefore the valid formatting is
problematic when entering in Pro/E as WC will not accept unless exactly the way
it is specified in the setup. It would be nice if you could setup a drop down
calendar to appear when selecting the date and drive this way. Just curious to
know how others are integrating WC with Pro/E to control dates for use in
drawing formats.


2 REPLIES 2
BenLoosli
23-Emerald II
(To:ptcuser2)

Use a script/program in your start parts to capture the Windchill date and format it for Pro/E.
You need to shorten the Windchill date format to cut off the time stamp that comes with the parameter.

SHORT_CREATED_ON = EXTRACT(PTC_WM_CREATED_ON,1,10)
SHORT_MODIFIED_ON = EXTRACT(PTC_WM_MODIFIED_ON,1,10)


Thank you,

Ben H. Loosli
USEC, INC.

I've figured that one out already but wasn't a good solution. We've got 4 different dates in our formats.

In Reply to Ben Loosli:


Use a script/program in your start parts to capture the Windchill date and format it for Pro/E.
You need to shorten the Windchill date format to cut off the time stamp that comes with the parameter.

SHORT_CREATED_ON = EXTRACT(PTC_WM_CREATED_ON,1,10)
SHORT_MODIFIED_ON = EXTRACT(PTC_WM_MODIFIED_ON,1,10)


Thank you,

Ben H. Loosli
USEC, INC.
Top Tags