Skip to main content
13-Aquamarine
July 25, 2022
Question

repeat region filter limited to 80 characters

  • July 25, 2022
  • 3 replies
  • 2440 views

Hello,

 

I have a filter condition which exceed the limit of 80 characters. (&asm.mbr.name==...)

The opposite condition doesn't result in a shorter formula.

 

I tried to use "or" ( | ) but didn't success.

&asm.mbr.name == *val1*, *val2*, *val3*,...

|asm.mbr.name == *val11*, *val12*, *val13*

 

Do you know a solution ?

Thanks.

 

3 replies

24-Ruby III
July 31, 2022

Hi,

discuss your problem with PTC Support.

21-Topaz II
August 8, 2022

You have not specified what version of Creo you are using, so perhaps the repeat relation functionality has changed since Creo 4.0.

Either way, maybe the following (extracted from a pertinent article, CS150475) may be informative:

How to write a repeat region relation that uses a wildcard in Creo Parametric

Applies To

  • Pro/ENGINEER and Creo Elements/Pro Wildfire 2.0 to Wildfire 5.0
  • Creo Parametric 1.0 to 4.0

Description

  • How to write a repeat region relation that uses a wildcard
  • It always gets the wrong result when add a relation in repeat region

Cause

Resolution

23-Emerald III
August 18, 2022

Give us a better description of what you are doing with the relation?

Relations have always been limited to 80 characters.

24-Ruby III
August 19, 2022

@BenLoosli wrote:

Give us a better description of what you are doing with the relation?

Relations have always been limited to 80 characters.


Hi,

I think OP needs something like

&asm.mbr.name == *val1*, *val2*, *val3*, *val4*, *val5*, *val6*, *val7*, *val8*, *val9*, *vala*, *valb*, *valc*, *vald*, *vale*, *valf*, *valg*, *valh*

Length of this line is 152 characters. It exceeds 80 characters limit.