Jump to content

Result element farmula for reference sphere position


Recommended Posts

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
×
×
  • Create New...