B
bu-bu
Guest
Hello All,
I have a small question regarding CDF initialization.
I use CDF to have a nice interface for my pcell.
One of my parameter is described like:
cdfCreateParam( cdfId
?name "MyVar"
?prompt "My Variable description"
?defValue MyVarInit
?type "float"
?display "t"
?editable "t"
)
MyVarInit is setup in another file as MyVarInit = 2
In my pcell, i have:
x1 = -MyVar
y1 = -foo
x2 = MyVar
y2 = foo
dbCreateRect(... )
For MyVar >= MyVarInit, my pcell is ok, the rectangle is create as i
need.
if MyVar < MyVarInit, (for example MyVar = 0.5 ) the rectangle is not
created with the good values!
I don't really understand why.
could you explain me why i can not enter a value lower than the
defvalue please ? I would like to setup the default value for a
transistor as 2 for example, but of course, i need sometimes to have
lowest values...
Of course, i can setup the value to the minimum, and then user will
update himself, but it's not my aim!
(because value = 2 cover 90% of cases, and another value will cover
the missing 10%)
Please help me.
thanks and regards ,
bu.
I have a small question regarding CDF initialization.
I use CDF to have a nice interface for my pcell.
One of my parameter is described like:
cdfCreateParam( cdfId
?name "MyVar"
?prompt "My Variable description"
?defValue MyVarInit
?type "float"
?display "t"
?editable "t"
)
MyVarInit is setup in another file as MyVarInit = 2
In my pcell, i have:
x1 = -MyVar
y1 = -foo
x2 = MyVar
y2 = foo
dbCreateRect(... )
For MyVar >= MyVarInit, my pcell is ok, the rectangle is create as i
need.
if MyVar < MyVarInit, (for example MyVar = 0.5 ) the rectangle is not
created with the good values!
I don't really understand why.
could you explain me why i can not enter a value lower than the
defvalue please ? I would like to setup the default value for a
transistor as 2 for example, but of course, i need sometimes to have
lowest values...
Of course, i can setup the value to the minimum, and then user will
update himself, but it's not my aim!
(because value = 2 cover 90% of cases, and another value will cover
the missing 10%)
Please help me.
thanks and regards ,
bu.