Skip to main content
1-Visitor
Apr 13, 2014 11:55 PM UTC
Question

Point Pattern - How to access the number (count) of Pattern Members

Hi All,

Any ideas how to get the number of Pattern Members when using a Point Pattern? I'm not looking to drive the number of Points in the Sketch with this, it's display only. Use case is an irregular pattern of holes, and everything works fine except I don't have a way to add the number of holes to the hole callout. On a Dimension (and Table Pattern I think) this shows up as a parameter that can be added.

Thanks in Advance

16 replies

1-Visitor
Apr 14, 2014 4:10 AM UTC

I am also searching the same not only for point also for fill pattern. I guess you may need to add an idea.

Translate
2-Explorer
Apr 14, 2014 10:01 AM UTC

This sounds like an extension to this idea:

http://communities.ptc.com/ideas/3639

If everybody votes it up, maybe PTC will implement it in Creo Parametric 14.6, or perhaps even sooner...

Translate
Dale_Rosema
23-Emerald IV
Jun 13, 2017 1:31 PM UTC
21-Topaz II
Jun 12, 2017 4:27 PM UTC

Over 3 years later, is this still not possible?  I'm driving hole features by a point pattern in Creo 2 and Creo knows the number of holes because it adds it to the hole note, but I cannot reuse it elsewhere. 

In the hole note it's &PATTERN_NO, but that doesn't work anywhere else.  I tried &PATTERN_NO:fid_3047 where 3047 was the feature ID of the pattern and that failed as well.

Translate
1-Visitor
Mar 29, 2018 5:54 PM UTC

[Edit] I misunderstood your question. Sorry about that. I don't know the answer to your question. Hopefully you found a way.

 

[Original Respond]

Fortunately there is a way, although not very intuitive (you all know how user friendly Creo is). Choosing your pattern feature, right click and click Edit (NOT Edit Definition), the dimension will be displayed without going into the Pattern function. Hover your mouse pointer above the number of pattern dimension, and if should display the dimension pxxx:Fxxx(PATTERN), then you can use that pxxx dimension, or you can click Switch Dimensions and it'll show the variable too.

3 years late, but hopefully other people will find this helpful.

 

Good luck.

Translate
1-Visitor
Feb 7, 2022 6:54 AM UTC

Hey, this works fine as long as you actually use all of the holes in the pattern. If you "click" away some of the holes, the pattern name id still calls out all of the holes (even the ones not active).

Translate
21-Topaz I
Apr 1, 2022 3:25 PM UTC

Hello @pausob 

 

You're right. My example was not really relevant to show how Notes of hole pattern are improved in Creo Parametric 8.0 (except it was using &HOLE_INSTANCE_COUNT new hole token, instead of former &PATTERN_NO in my example).

=> For others who may be interested by an exhaustive overview of what is excatly enhanced in this version related to Hole Pattern & related new tokens introduced, please refer to this movie here.

=>  For the request to get this effective for any pattern (and not only hole patterns), I confirm it's not part of Creo 8.0 capabilities, so that only suggestion I can share is indeed to vote on this idea: Number of instances in a point pattern.  (Consider however it is currently reported in the direction of "point patterns", and not really "any pattern")

 

Regards,

 

Serge

Translate
8-Gravel
Jul 29, 2021 10:01 AM UTC

There is a way, if you use a secondary tool. You can write a script to analyze the program code and count the holes there. I use the freeware CreoSON for it, and afterwards add it to the dimension text. But it is not simple to achieve and will not automatically update when you change the pattern.

Translate