how to use setof to get the list what I want?

B

Bo Bob

Guest
Hi Sirs
I want to get the backdrill information~

mfg_layer_list = axlGetParam("paramLayerGroup:MANUFACTURING")->groupmembers
nclegend_list = setof( xx mfg_layer_list ( substring( xx 1 8) == "NCBACKDRILL"))

why i get the nil?
anyone can help me to get the backdrill in list?


Skill > mfg_layer_list
("NCBACKDRILL-42-39" "NCBACKDRILL-42-37" "NCBACKDRILL-1-2" "NCBACKDRILL-1-6" "NCBACKDRILL-1-4"
"NCBACKDRILL-1-8" "NCBACKDRILL-42-6" "NCBACKDRILL-42-4" "NCBACKDRILL-42-10" "NCBACKDRILL-42-8"
"NCLEGEND-1-42" "STACKUP_FIGURE" "BACKDRILL-FLAG-TOP" "BACKDRILL-FLAG-BOT" "NCBACKDRILL-1-21"
"NCBACKDRILL-1-17" "NCBACKDRILL-1-19" "NCBACKDRILL-1-23" "NCBACKDRILL-42-21" "NCBACKDRILL-42-19"
"NCBACKDRILL-42-25" "NCBACKDRILL-42-23" "XSECTION_CHART" "NO_PROBE_BOTTOM" "NO_PROBE_TOP"
"AUTOSILK_BOTTOM" "AUTOSILK_TOP" "PROBE_BOTTOM" "PROBE_TOP" "NCDRILL_FIGURE"
"NCDRILL_LEGEND" "NO_GLOSS_INTERNAL" "NO_GLOSS_BOTTOM" "NO_GLOSS_TOP" "NO_GLOSS_ALL"
"PHOTOPLOT_OUTLINE"

Skill >nclegend_list = setof( xx mfg_layer_list ( substring( xx 1 8) == "NCLEGEND"))

Skill > nclegend_list = setof( xx mfg_layer_list ( substring( xx 1 8) == "NCBACKDRILL"))
nil
 
Try following command

nclegend_list = setof( xx mfg_layer_list ( substring( xx 1 11) == "NCBACKDRILL"))


On Monday, October 12, 2015 at 7:08:33 AM UTC+5:30, Bo Bob wrote:
Hi Sirs
I want to get the backdrill information~

mfg_layer_list = axlGetParam("paramLayerGroup:MANUFACTURING")->groupmembers
nclegend_list = setof( xx mfg_layer_list ( substring( xx 1 8) == "NCBACKDRILL"))

why i get the nil?
anyone can help me to get the backdrill in list?


Skill > mfg_layer_list
("NCBACKDRILL-42-39" "NCBACKDRILL-42-37" "NCBACKDRILL-1-2" "NCBACKDRILL-1-6" "NCBACKDRILL-1-4"
"NCBACKDRILL-1-8" "NCBACKDRILL-42-6" "NCBACKDRILL-42-4" "NCBACKDRILL-42-10" "NCBACKDRILL-42-8"
"NCLEGEND-1-42" "STACKUP_FIGURE" "BACKDRILL-FLAG-TOP" "BACKDRILL-FLAG-BOT" "NCBACKDRILL-1-21"
"NCBACKDRILL-1-17" "NCBACKDRILL-1-19" "NCBACKDRILL-1-23" "NCBACKDRILL-42-21" "NCBACKDRILL-42-19"
"NCBACKDRILL-42-25" "NCBACKDRILL-42-23" "XSECTION_CHART" "NO_PROBE_BOTTOM" "NO_PROBE_TOP"
"AUTOSILK_BOTTOM" "AUTOSILK_TOP" "PROBE_BOTTOM" "PROBE_TOP" "NCDRILL_FIGURE"
"NCDRILL_LEGEND" "NO_GLOSS_INTERNAL" "NO_GLOSS_BOTTOM" "NO_GLOSS_TOP" "NO_GLOSS_ALL"
"PHOTOPLOT_OUTLINE"

Skill >nclegend_list = setof( xx mfg_layer_list ( substring( xx 1 8) == "NCLEGEND"))

Skill > nclegend_list = setof( xx mfg_layer_list ( substring( xx 1 8) == "NCBACKDRILL"))
nil
 

Welcome to EDABoard.com

Sponsor

Back
Top