Jump to content

Different comment for every index of a pattern


---
 Share

Recommended Posts

Hi,

i am using a simpe distance to report distance of two points with a rotary pattern applied.

Is it possible (does someone know how) to define a different comment for every index of the pattern?
If i simply define a comment in the characteristic feature, then every index has the same comment.
852_08ebb13ba061ea86cfaa2cb417835fa8.jpg
852_3b8752b31409bbd23397e7a89c5de5c6.jpg
Link to comment
Share on other sites

If your comment also follows a pattern and you're able to derive the differing text (angles etc.) from the pattern index within a formula, you can use something like this in the comment of the characteristic:
"This is pattern element #"+text(getNominal().container.indexHolder.index)
To start at 25° and increment by 5° you could write
"Angle = "+text(25+(getNominal().container.indexHolder.index*5)-5)
Of course you can omit the "-5" at the end and put a 20 in the front instead of 25, but the above makes it easier for others to understand the intention.
Link to comment
Share on other sites

Hallo Florian,

es geht mit PCM
In der Eingangseinstellung kannst du eine Variable definieren
z.B. für eine 5° Teilung:
Winkel=LOOP1*5
Kommentar="Winkel = "+Winkel+"°"
Dann kannst Du die Variable "Kommentar" als Formel im Kommentarfeld einfügen
Link to comment
Share on other sites

Oh my, LOOP1, how could I forget 🤣 🤣

It's all GOM's fault! My CMM time has dropped dramatically and I keep forgetting the simplest things 😮
Oh well, maybe my overly complicated stuff above is useful for somebody else some time. 🙄
Link to comment
Share on other sites

 Share

×
×
  • Create New...