Jump to content

Couple of Formula Questions


---
 Share

Recommended Posts

Hi All,

I have a couple of questions that I'm sure someone on here knows:

1) Is there anyway to use a result element to pull the True Position axis deviations (the additional printout values)?

2) Is there anyway to pull the Upper/Lower Tolerance of a characteristic while inside of a result element?

Many thanks as always.
Link to comment
Share on other sites

I'm looking in to #1, but for #2:

getNominal("CharacteristicName").tolerance.lowerTolerance
getNominal("CharacteristicName").tolerance.upperTolerance
Link to comment
Share on other sites

True Position (Cylinder Axis Endpoints)
getActual(“Position1”).x1
getActual(“Position1”).y1
getActual(“Position1”).t1

getActual(“Position1”).x2
getActual(“Position1”).y2
getActual(“Position1”).t2

True Position (Circle)
getActual(“Position1”).actual.x
getActual(“Position1”).actual.y
getActual(“Position1”).deviation
Link to comment
Share on other sites

Please sign in to view this quote.

This is good stuff. When working with Cylinders, how you know which one to use (x1 or x2)?
Link to comment
Share on other sites

Please sign in to view this quote.

Thank you, Laura. It appears that I was close, but I couldn't guess the to capitalize/not capitalize game correctly. Lol.
Link to comment
Share on other sites

Please sign in to view this quote.

So.... Z isn't an option here? I can use (I'm working with Cylinders) getActual("Position1).actual.z and I get a result, but it isn't displayed correctly.
659_15a684981411aed2b85269ba65242432.png
Link to comment
Share on other sites

Please sign in to view this quote.

The position characteristic has not been computed and therefore the values are not available. You can either run the program in simulation first to compute the needed characteristics or simply assign the command to a variable in the presettings of the result element (PCM option required). I prefer the latter.
Link to comment
Share on other sites

Please sign in to view this quote.

But it was calculated. It was strange. I ended up changing the name of the characteristic, and then it worked. I was then able to change the name back to the original intent, and it stayed worked. Strange....
Link to comment
Share on other sites

Please sign in to view this quote.

OK. Once again, thank you for showing me the light on these formulas. It is greatly appreciated.
Link to comment
Share on other sites

 Share

×
×
  • Create New...