Jump to content

Alignment names in characteristic list


---
 Share

Recommended Posts

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

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

 Share

×
×
  • Create New...