Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

36 views
Skip to first unread message

Bo Bob

unread,
Oct 11, 2015, 9:38:33 PM10/11/15
to
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

Kedari Hotkar

unread,
Mar 31, 2016, 2:24:50 AM3/31/16
to
Try following command

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