Skip to main content
14-Alexandrite
May 8, 2026
Solved

Crete a relation betwen PTC_ACTUAL_PAT_MEMBERS and a user defined parameter?

  • May 8, 2026
  • 3 replies
  • 42 views

To all

If one has user parameter say ‘npattern’ is is possible to drive the variable members of pattern (CREO 12 parameter PTC_ACTUAL_PAT_MEMBERS or PTC_TOTAL_PAT_MEMBERS)

Something simple like so:-

PTC_ACTUAL_PAT_MEMBERS = npattern

As the CREO parameter is locked it is not possible! PTC_ACTUAL_PAT_MEMBERS  is a reserved symbol name

Thanks

Best answer by JXBWk

Thanks. so a “normal” definition d12 = npattern (at feature level) will do 

3 replies

KenFarley
21-Topaz II
May 8, 2026

Doing a simple bit of research I find that PTC_ACTUAL_PAT_MEMBERS is a calculated integer value. Its purpose is to provide a number of actual occurrences of a pattern. From what I can understand, it goes like this:

  1. You create a pattern, with whatever number of members.
  2. You subsequently tell Creo to omit some number of members of the pattern. For example, you might define the pattern initally as a rectangular array of members, like holes. Then you omit some of the holes, because you don’t need them.
  3. Creo sets the value of PTC_ACTUAL_PAT_MEMBERS based on how many of the original pattern members are still “ON”.

You don’t set parameters like this directly, it makes no sense.

If you’re not omitting any members of a pattern, PTC_ACTUAL_PAT_MEMBERS should be the same as the number of instances in the pattern, which is for all intents and purposes an integer “dimension” which you can set with the value of a parameter with a relation.

JXBWk14-AlexandriteAuthorAnswer
14-Alexandrite
May 8, 2026

Thanks. so a “normal” definition d12 = npattern (at feature level) will do 

KenFarley
21-Topaz II
May 11, 2026

Pattern instance default to a autogenerated name of something like “p12”.

KenFarley
21-Topaz II
May 8, 2026

Sure. You can change the name of the dimension, too. Maybe something like numHoles or such. Makes the relation more understandable in the future.