Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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.
Hi,
discuss your problem with PTC Support.
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:
Give us a better description of what you are doing with the relation?
Relations have always been limited to 80 characters.
@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.
Hello @BenLoosli ,
@MartinHanak his right.
I have to write a relation like that:
&asm.mbr.name == *val1*, *val2*, *val3*, *val4*, *val5*, *val6*, *val7*, *val8*, *val9*, *vala*, *valb*, *valc*, *vald*, *vale*, *valf*, *valg*, *valh
But it exceed the limit of 80 characters.
Best regards,
Nicolas
@Nicolas_G wrote:
Hello @BenLoosli ,
@MartinHanak his right.
I have to write a relation like that:
&asm.mbr.name == *val1*, *val2*, *val3*, *val4*, *val5*, *val6*, *val7*, *val8*, *val9*, *vala*, *valb*, *valc*, *vald*, *vale*, *valf*, *valg*, *valh
But it exceed the limit of 80 characters.
Best regards,
Nicolas
Hi,
you can use procedure similar to the following one:
Define repeat region relations
Define filter
The above mentioned settings are used in uploaded Creo 4.0 drawing.
Hi,
Thanks for the proposal Martin,
But use relations instead of filter cause another issue.
Additionnaly I have to change the index number for this region.
For that I add the relation:
at table creation it works fine:
When I fix index, The index is well updated and reordered but the relation ITEM=400+rpt_index is not re calculated.
for example I changed index 3 to 1
Is there a solution to force the relation to be calculated or to add all the values (over than 80 characters) in filter ?
Thanks,
Nicolas Guillot
@Nicolas_G wrote:
Hi,
Thanks for the proposal Martin,
But use relations instead of filter cause another issue.
Additionnaly I have to change the index number for this region.
For that I add the relation:
at table creation it works fine:
When I fix index, The index is well updated and reordered but the relation ITEM=400+rpt_index is not re calculated.
for example I changed index 3 to 1
Is there a solution to force the relation to be calculated or to add all the values (over than 80 characters) in filter ?
Thanks,
Nicolas Guillot
Hi,
unfortunately your questions are too complicated for me. Please ask PTC Support directly.