Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 63569

Forum Post: How to convert '() to list()

$
0
0
Hi, I would like to convert a list from no evaluation to evaluated list. h ow can I do that. my code is : yhwDrDefinePacket = list( ;( DisplayName PacketName Stipple LineStyle Fill Outline [FillStyle]) '( display M1_drawing metal1S solid blue blue outlineStipple) '( display M1_label blank solid blue blue outlineStipple) '( display M1_pin X thickLin2 blue blue X ) ) foreach(yhwPacket yhwDrDefinePacket if(drFindPacket("display" pcExprToString(nthelem(2 yhwPacket))) then drSetPacket(yhwPacket) ) ) when I run the code, it show the error below: *Error* drSetPacket: too few arguments (at least 6 expected, 1 given) - ((display M1_drawing metal1S solid blue ... )) So instead of passing 7 arguments, it pass just 1 arguments Thanks for any help Tony

Viewing all articles
Browse latest Browse all 63569

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>