incrementation of a cell view name

Discussion in 'Cadence' started by nour, Aug 20, 2008.

  1. nour

    nour Guest

    Hi everybody! please I want to create, by a foreach function, some
    layout cell views. Foreach cell, I want to give a unique name,

    I explain:

    i=0
    Foreach( condition
    i=i+1
    dbOpenCellViewByType ("lib" "cell_i" "layout" "maskLayout"
    "w")
    )

    So that the first cell will be named "cell_1" and the the second
    "cell_2" etc.....

    how can do that please??
     
    nour, Aug 20, 2008
    #1
  2. (sprintf nil "cell_%d" i)
     
    Jean-Marc Bourguet, Aug 20, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.