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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Create Calculated Attribute for type "Uses Occurrence Attributes"

FS_9776388
5-Regular Member

Create Calculated Attribute for type "Uses Occurrence Attributes"

I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.7

Can you define a calculated attribute for type "Uses Occurrence Attributes"?
For the type "Uses Occurrence Attributes" I've tried to define a calculated attribute of type String (see attachments). However, when looking at the Occurrences table no value is displayed for this attribute. I wonder if it is in general possible to use calculated attributes for Uses Occurrence Attributes.

9 REPLIES 9

Hi @FS_9776388 

What is the calculation formula?

PetrH 

 

FS_9776388
5-Regular Member
(To:HelesicPetr)

Hello @HelesicPetr,

the formula is "TestString" just to see whether there would be any output.

FS_9776388_0-1707812098194.png

 

However, the SimpleCalcAttrib column in the Occurrences tab just stays empty:

Untitled.png

 
 

I've tried the same approach on a WTDocument, where it worked:

FS_9776388_1-1707813028201.png

 

 

Hi @FS_9776388 

If you add the calculated attribute on the WTDocument to the structure view, does it work?

PetrH

FS_9776388
5-Regular Member
(To:HelesicPetr)

Can you tell me how to do that? I'm not really sure what you mean

Add the wtdocument calculated attribute to the structure. 

HelesicPetr_0-1707815050688.png

 

PetrH

FS_9776388
5-Regular Member
(To:HelesicPetr)

That does work. I don't quite understand though how that relates to the Occurrences table?

FS_9776388_0-1707817081562.png

 

It could have been a GWT issue
PetrH


Hello FS_9776388,
This is Charles from PTC Technical Support in Europe.
Was the information provided helpful somehow?
I remain at your disposal for any questions or concerns.
Kind Regards,
Charles Gautier.

FS_9776388
5-Regular Member
(To:FS_9776388)

Seems like the type "Uses Occurrence Attributes" sometimes changes its name?
In the Type Administrator I now see it listed as "Part Uses Occurrence", strange...

To make it more clear: I mean the type wt.occurrence.UsesOccurrenceUserIBAs

Top Tags