[Ma...] Posted December 11, 2024 Share Posted December 11, 2024 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 https://qualityforum.zeiss.com/topic/21486-alignment-names-in-characteristic-list/ Share on other sites More sharing options...
[Ch...] Posted December 11, 2024 Share Posted December 11, 2024 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 https://qualityforum.zeiss.com/topic/21486-alignment-names-in-characteristic-list/#findComment-122470 Share on other sites More sharing options...
[Ch...] Posted December 11, 2024 Share Posted December 11, 2024 (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, 2024 Link to comment https://qualityforum.zeiss.com/topic/21486-alignment-names-in-characteristic-list/#findComment-122476 Share on other sites More sharing options...
[Mi...] Posted December 12, 2024 Share Posted December 12, 2024 (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, 2024 Link to comment https://qualityforum.zeiss.com/topic/21486-alignment-names-in-characteristic-list/#findComment-122482 Share on other sites More sharing options...
[Ma...] Posted December 12, 2024 Author Share Posted December 12, 2024 Thanks gentlemen, this is all very helpful! Link to comment https://qualityforum.zeiss.com/topic/21486-alignment-names-in-characteristic-list/#findComment-122492 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