Skip to main content
10-Marble
February 12, 2024
Question

Create Calculated Attribute for type "Uses Occurrence Attributes"

  • February 12, 2024
  • 2 replies
  • 2259 views

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.

2 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
February 13, 2024

Hi @FS_9776388 

What is the calculation formula?

PetrH 

 

10-Marble
February 13, 2024

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
22-Sapphire II
February 13, 2024

Hi @FS_9776388 

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

PetrH

10-Marble
February 13, 2024

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