EDAboard.com | EDAboard.de | EDAboard.co.uk | WTWH Media

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

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - how to use setof to get the list what I want?

Bo Bob
Guest

Mon Oct 12, 2015 3:38 am   



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 Cool == "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 Cool == "NCLEGEND"))

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

Kedari Hotkar
Guest

Thu Mar 31, 2016 7:30 am   



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:
Quote:
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 Cool == "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 Cool == "NCLEGEND"))

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


elektroda.net NewsGroups Forum Index - Cadence - how to use setof to get the list what I want?

Ask a question - edaboard.com

Arabic version Bulgarian version Catalan version Czech version Danish version German version Greek version English version Spanish version Finnish version French version Hindi version Croatian version Indonesian version Italian version Hebrew version Japanese version Korean version Lithuanian version Latvian version Dutch version Norwegian version Polish version Portuguese version Romanian version Russian version Slovak version Slovenian version Serbian version Swedish version Tagalog version Ukrainian version Vietnamese version Chinese version Turkish version
EDAboard.com map