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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Repeat Region Relation to Differentiate Between Contexts

mszwabowski
13-Aquamarine

Repeat Region Relation to Differentiate Between Contexts

My company has one Windchill context for Libraries and one for Products.  I'd like to write a Repeat Region relation that would differentiate between contexts and populate a drawing's BOM accordingly.

 

For example, if the assembly member comes from the Products context, I'd like the asm.mbr.name set to a parameter.  If the assembly member comes from the Libraries context, I'd like the asm.mbr.name to be just that.

 

Something along the lines of...

 

IF

     asm.mbr.PTC_WM_LOCATION==/Products

          asm.mbr.name=A relation-driven parameter in the part

ELSE    

     asm.mbr.name

 

Does anyone have a suggestion for how to access the PTC_WM... parameters?

3 REPLIES 3
TomU
23-Emerald IV
(To:mszwabowski)

Yes, this is possible with repeat region relations.  The parameter is called ASM_MBR_PTC_WM_LOCATION.

mszwabowski
13-Aquamarine
(To:TomU)

That's exactly what I was looking for, Tom.  Thank you very much for your help.

Mark Tom Uminn answer as correct , in order to help other users with similar problem.

Regards

Milan Bonka

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags