Jump to content

Result element farmula for reference sphere position


---
 Share

Recommended Posts

Hello Experts, I just want to know about how to get refrence sphere position using result element in Calypso 5.2 with Zeiss spectrum machine. 

Thank you in advance 

Link to comment
Share on other sites

I am not sure if it will work on your version of Calypso but this can retrieve what you want.
This will report for 1st ref sphere. For 2nd modify this ".asArray,1" -> ".asArray,2".

Use each line separately ( so just 3 lines and 3 result elements ) No PCM license needed

 getParameterNamed(executeCode("Zeiss.CMMOS.OMSphereNormal getAllSphereNormals").asArray,1).spherePosition.x
 getParameterNamed(executeCode("Zeiss.CMMOS.OMSphereNormal getAllSphereNormals").asArray,1).spherePosition.y
 getParameterNamed(executeCode("Zeiss.CMMOS.OMSphereNormal getAllSphereNormals").asArray,1).spherePosition.z
 getParameterNamed(executeCode("Zeiss.CMMOS.OMSphereNormal getAllSphereNormals").asArray,1).sphereRadius

 

Edited
  • Like! 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...