Home > Community > Forums > Custom IC SKILL > dbCreateInst with parameter property

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 dbCreateInst with parameter property 

Last post Tue, Feb 10 2009 10:54 PM by bharath2k4er. 3 replies.
Started by ebecheto 28 Oct 2008 03:22 AM. Topic has 3 replies and 3182 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Oct 28 2008 3:22 AM

    • ebecheto
    • Top 200 Contributor
    • Joined on Fri, Oct 10 2008
    • Villeurbanne, Rhone
    • Posts 38
    • Points 685
    dbCreateInst with parameter property Reply

    Hi all,

    I want to create layout instances with the function 'dbCreateInst' of an instance that has some parameters, let say "width" and "length"

    However with the following code-line, it is not possible to specify the parameters.

    (dbCreateInst (getEditRep) (dbOpenCellViewByType library "myCell" "layout") nil (list xpoint ypoint) "R0")

     When using the graphical interface : 'leHiCreateInst' we are able to change the default values of the parameters and then we can see them selecting the instance and typing : css()~>prop~>??

    But when I use dbCreateInst to create the instance, there is : 'nil' in the 'prop' field ...

    Does anyone know how to insert a cell with parameter, or how to change the parameters after insertion ?

    Thanks for any piece of advice.

    • Post Points: 20
  • Tue, Oct 28 2008 3:55 AM

    • Bernd
    • Top 500 Contributor
    • Joined on Tue, Jul 15 2008
    • Unterhaching, Bavaria
    • Posts 26
    • Points 945
    Re: dbCreateInst with parameter property Reply

    dbCreateParamInst(
    d_cellView
    d_master
    t_name
    l_point
    l_orient
    [ x_numInst
    [ l_params ] ]

     ?!?

    Bernd 

     

    Just another lonesome cad guy
    • Post Points: 20
  • Wed, Oct 29 2008 12:32 AM

    • ebecheto
    • Top 200 Contributor
    • Joined on Fri, Oct 10 2008
    • Villeurbanne, Rhone
    • Posts 38
    • Points 685
    Re: dbCreateInst with parameter property Reply

    Your fully right,

    How come I haven't found that before ?! Thanks for your help.

    Regards,

    • Post Points: 20
  • Tue, Feb 10 2009 10:54 PM

    • bharath2k4er
    • Top 500 Contributor
    • Joined on Tue, Feb 10 2009
    • blr, Karnataka
    • Posts 34
    • Points 650
    Re: dbCreateInst with parameter property Reply

     Is it possible to add an extra parameter for the exisiting instance.

    say, i want to lock(shouldn't be able to perform move or stretch commands) the position..?? 

    Thanks, Bharath
    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by ebecheto at 28 Oct 2008 03:22 AM. Topic has 3 replies.