[Ma...] Posted December 11 Share Posted December 11 Is there a way to capture all the names of the alignments in the characteristic list? I can generate a list of all the characteristic names, but the alignment names are not on the list. Link to comment Share on other sites More sharing options...
[Ch...] Posted December 11 Share Posted December 11 I have a feeling this one is buried in PCM and may require executeCode() //dangerous I would reach out to Michael K , here is some code that may help ... https://forums.zeiss.com/messtechnik/community/viewtopic.php?p=57422&hilit=executeCode+Zeiss.Calypso#p57422 Link to comment Share on other sites More sharing options...
[Ch...] Posted December 11 Share Posted December 11 (edited) Try this .. This will output them all to a .txt file in your program folder. for i =1 to baseSystem().machine.inspection.allPCSNames.size coordsysnames=getParameterNamed(baseSystem().machine.inspection.allPCSNames.asArray,i).asString addToFile(getActualInspectionDir()+"\PCM1.txt", coordsysnames) next i I'm learning slowly .. if you just want the names : baseSystem().machine.inspection.allPCSNames Edited December 11 Link to comment Share on other sites More sharing options...
[Mi...] Posted December 12 Share Posted December 12 (edited) baseSystem().machine.inspection.getExistingPCS.definitionList // usage and elements baseSystem().machine.inspection.getExistingPCS.definitionList2 // usage and elements without ' -> ' baseSystem().machine.inspection.getExistingPCS.allMeasElementNames // only elements bas=baseSystem().machine.inspection.getExistingPCS.definitionList for i=1 to bas.keys.size el=getParameterNamed(bas,i) display(el.key.trim + " -> " + el.value.trim) next i Edited December 12 Link to comment Share on other sites More sharing options...
[Ma...] Posted December 12 Author Share Posted December 12 Thanks gentlemen, this is all very helpful! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in