Talk About Network

Google





Computer Aided Design - CAD > Cadence > Re: create a fo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 9 Topic 3963 of 4397
Post > Topic >>

Re: create a form with Skill that create a file from library manager

by manell15 <manel.langar@[EMAIL PROTECTED] > Apr 24, 2008 at 01:46 AM

On Apr 23, 11:09=A0am, "S. Badel" <stephane.ba...@[EMAIL PROTECTED]
>
wrote:
> manell15 wrote:
> > I am developping a tool with skill language that generate automaticaly
> > a testchip from a file that describe tle list of cells of the
> > testchip.
> > I want to create from an interface this file that contains in each
> > line :
> > "name of a library" =A0 "name of the cell" =A0 "the view of the cell"
> > "the position of the cell in the testchip"
> > the interface will contain a button called "BROWSE"
> > when we click on the button the library manager appears and we choose
> > the library, the cell name and the cell view , in this moment a file
> > should be created containing all these informations: "name of a
> > library" =A0 "name of the cell" =A0 "the view of the cell" =A0"the
posit=
ion
> > of the cell in the testchip"
> > Could you please help me
>
> > Best regards
> > manell15
>
> You'll want to look at ddsSyncWithForm() type of function, to allow
choosi=
ng from the library manager.
>
> Below's a minimal example.
>
> Cheers,
> St=E9phane
>
> --
>
> procedure( SBChooseCellview()
>
> =A0 unless( boundp('CSForm) && hiIsForm(CSForm)
> =A0 =A0CSForm =3D hiCreateAppForm(
> =A0 =A0 ?name 'CSForm
> =A0 =A0 ?formTitle "Choose Cellview"
> =A0 =A0 ?buttonLayout '(OKCancel)
> =A0 =A0 ?buttonDisabled '(Help)
> =A0 =A0 ?dialogStyle 'modal
> =A0 =A0 ?initialSize 320:210
> =A0 =A0 ?minSize 320:210
> =A0 =A0 ?maxSize 320:210
> =A0 =A0 ?fields list(
> =A0 =A0 =A0 =A0 ; source
> =A0 =A0 =A0list( hiCreateStringField(
> =A0 =A0 =A0 ?name 'srcLib
> =A0 =A0 =A0 ?prompt "Library"
> =A0 =A0 =A0 ?defValue ""
> =A0 =A0 =A0 ?callback "ddsUpdateSyncWithForm()"
> =A0 =A0 =A0) =A0 =A0 =A0 20:20 260:025 080 )
> =A0 =A0 =A0list( hiCreateStringField(
> =A0 =A0 =A0 ?name 'srcCell
> =A0 =A0 =A0 ?prompt "Cell"
> =A0 =A0 =A0 ?defValue ""
> =A0 =A0 =A0 ?callback "ddsUpdateSyncWithForm()"
> =A0 =A0 =A0) =A0 =A0 =A020:50 260:025 080 )
> =A0 =A0 =A0list( hiCreateStringField(
> =A0 =A0 =A0 ?name 'srcView
> =A0 =A0 =A0 ?prompt "View"
> =A0 =A0 =A0 ?defValue ""
> =A0 =A0 =A0 ?callback "ddsUpdateSyncWithForm()"
> =A0 =A0 =A0) =A0 =A0 =A020:80 260:025 080 )
> =A0 =A0 =A0list( hiCreateButton(
> =A0 =A0 =A0 ?name 'srcBrowseBtn
> =A0 =A0 =A0 ?buttonText "Browse..."
> =A0 =A0 =A0 ?callback "ddsSyncWithForm( CSForm 'browse 'srcLib 'srcCell
's=
rcView )"
> =A0 =A0 =A0) 20:120 100:040 )
> =A0 =A0 =A0; destination
> =A0 =A0 ) ; ?fields
> =A0 =A0) ; hiCreateAppForm
> =A0 )
>
> =A0 when( hiDisplayForm( CSForm )
> =A0 =A0list( CSForm->srcLib->value CSForm->srcCell->value
CSForm->srcView-=
>value )
> =A0 )
>
> ) ; procedure- Hide quoted text -
>
> - Show quoted text -

Thank you very much for your help.
I want to ask how to add a text in an " MLTextField".
I've trayed to do it with the ****tion "appel()" but this function
concat all texts in the same line and  I want to insert each new text
in a newline.

Best regards
manell15



list( hiCreateMLTextField(
    ?name 'zone
    ?prompt "List of cells"
    ?defValue ""
    ?editable t
    )

(defun appel ()
(let (nextLine)
 nextLine=3Dstrcat(CSForm->srcLib->value " " CSForm->srcCell->value " "
CSForm->srcView->value )
 CSForm~>zone~>value =3Dstrcat( nextLine  CSForm~>zone~>value )
)
 




 9 Posts in Topic:
create a form with Skill that create a file from library manager
manell15 <manel.langar  2008-04-22 04:31:41 
Re: create a form with Skill that create a file from library man
Riad KACED <riad.kaced  2008-04-22 17:14:32 
Re: create a form with Skill that create a file from library man
"S. Badel" <  2008-04-23 11:09:02 
Re: create a form with Skill that create a file from library man
manell15 <manel.langar  2008-04-24 01:46:49 
Re: create a form with Skill that create a file from library man
"S. Badel" <  2008-04-24 16:57:13 
Re: create a form with Skill that create a file from library man
manell15 <manel.langar  2008-04-24 08:54:44 
Re: create a form with Skill that create a file from library man
"S. Badel" <  2008-04-24 18:30:53 
Re: create a form with Skill that create a file from library man
Riad KACED <riad.kaced  2008-04-24 12:06:23 
Re: create a form with Skill that create a file from library man
manell15 <manel.langar  2008-04-25 06:44:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 5:50:36 PST 2009.