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

Translate the entire conversation x

Create Calculated Attribute for type "Uses Occurrence Attributes"

FS_9776388
8-Gravel

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
HelesicPetr
22-Sapphire II
(To:FS_9776388)

Hi @FS_9776388 

What is the calculation formula?

PetrH 

 

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

 

 

HelesicPetr
22-Sapphire II
(To:FS_9776388)

Hi @FS_9776388 

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

PetrH

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

HelesicPetr
22-Sapphire II
(To:FS_9776388)

Add the wtdocument calculated attribute to the structure. 

HelesicPetr_0-1707815050688.png

 

PetrH

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

FS_9776388_0-1707817081562.png

 

HelesicPetr
22-Sapphire II
(To:FS_9776388)

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.

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

Announcements



Top Tags