[SOLVED] how can I generate multiple layout with a for loop in SKILL language?

Status
Not open for further replies.

rezash

Newbie level 3
Joined
Sep 8, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
I am trying to generate 10 layouts with names for example test1, test2, .... using SKILL language. I wan to Know how can I define the cell names in the following program:
for(i 1 10
cv=dbOpenCellViewByType("work" "test" "layout" "maskLayout" "w")
dbSave(cv)
dbClose(cv)
)
 


Use this for your cell names:
strcat("test", pcExprToString(i))
 
Reactions: rezash

    rezash

    Points: 2
    Helpful Answer Positive Rating
I'd try
Code:
        cv=dbOpenCellViewByType("work" "[COLOR="#FF0000"]test(i)[/COLOR]"  "layout" "maskLayout" "w")
or
Code:
        cv=dbOpenCellViewByType("work" "[COLOR="#FF0000"]test:i[/COLOR]"  "layout" "maskLayout" "w")
 

Thank you very much for your help.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…