check and save all symbol views in a library

S

SS

Guest
I need a SKILL script to check ans save all symbols in a library.


Sriram
 
From my archives, you can easily modify it for your needs by
substitute the t_viewname to "symbol".

Bernd


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Function : BFcheckAndSaveLibSchematics
;;
;; Synopsis : BFcheckAndSaveLibSchematics( t_libraryName )
;;
;; Return Value : BFcheckAndSaveLibSchematics => dd_Id
;;
;; Modification : -
;;
;; Description : SKILL equivalent to 'Schematic Check & Save'
;; for a complete library.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

procedure( BFcheckAndSaveLibSchematics( libName "t" )
let( ( d_libId d_cvId t_viewName )

d_libId = ddGetObj( libName )
t_viewName = "schematic"

l_cellList = setof(
d_cell d_libId~>cells member( t_viewName d_cell~>views~>name )
)

foreach( d_cell l_cellList

d_cvId = dbOpenCellViewByType(
libName
d_cell~>name
t_viewName
nil
"a"
)

schCheck( d_cvId )
dbSave( d_cvId )
dbClose( d_cvId )
) ;; close foreach d_cell

) ;;close let

) ;; close BFcheckAndSaveLibSchematics

SS wrote:
I need a SKILL script to check ans save all symbols in a library.


Sriram
 
Thanks Bernd,
Sriram

Bernd Fischer wrote:
From my archives, you can easily modify it for your needs by
substitute the t_viewname to "symbol".

Bernd


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Function : BFcheckAndSaveLibSchematics
;;
;; Synopsis : BFcheckAndSaveLibSchematics( t_libraryName )
;;
;; Return Value : BFcheckAndSaveLibSchematics => dd_Id
;;
;; Modification : -
;;
;; Description : SKILL equivalent to 'Schematic Check & Save'
;; for a complete library.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

procedure( BFcheckAndSaveLibSchematics( libName "t" )
let( ( d_libId d_cvId t_viewName )

d_libId = ddGetObj( libName )
t_viewName = "schematic"

l_cellList = setof(
d_cell d_libId~>cells member( t_viewName d_cell~>views~>name )
)

foreach( d_cell l_cellList

d_cvId = dbOpenCellViewByType(
libName
d_cell~>name
t_viewName
nil
"a"
)

schCheck( d_cvId )
dbSave( d_cvId )
dbClose( d_cvId )
) ;; close foreach d_cell

) ;;close let

) ;; close BFcheckAndSaveLibSchematics

SS wrote:
I need a SKILL script to check ans save all symbols in a library.


Sriram
 

Welcome to EDABoard.com

Sponsor

Back
Top