Ian Rozowsky wrote:
>Greetings all
>
>
>
>Several years back I used a nifty little server to do a mass update of
>all the part field names in a symbol library within 99SE.
>
>
>
>Does anyone recall what the server was called, and where it may be
>found?
>
>
>
>Regards
>
>
>
>
>
>Ian Rozowsky
>
>R&D Director
>
>Centurion Systems (Pty) Ltd.
>
>Box 506 Cramerview 2060 Gauteng South Africa
>
>+27-11-699-2434
>
>http://www.centsys.co.za
>
>
>
>Cerno et Prodo!
>
>
>
>
>
>
>
>
>-------------------------------------------------------------------------
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager. Please note that any views or opinions presented
>in this email are solely those of the author and do not necessarily
>represent those of Centurion Systems (Pty) Ltd. Finally, while Centurion
>Systems attempts to ensure that all email is virus-free, Centurion Systems
>accepts no liability for any damage caused by any virus
>transmitted by this email.
>-------------------------------------------------------------------------
>
>
>____________________________________________________________
>You are subscribed to the PEDA discussion forum
>
>To Post messages:
>mailto:[email protected]
>
>Unsubscribe and Other Options:
>http://techservinc.com/mailman/listinfo/peda_techservinc.com
>
>Browse or Search Old Archives (2001-2004):
>http://www.mail-archive.com/[email protected]
>
>Browse or Search Current Archives (2004-Current):
>http://www.mail-archive.com/[email protected]
>
>
>
>
Hi Ian,
My first reply had an attachment which the ListHandler strips, so heres
the raw file. Just save the text below with a .bas extension and run it
as a macro from the Sch.Lib.ddb. Very useful little program which can be
modified for other lib jobs. The 1000 loopcount is nominal: program
terminates at end of library without address errors. Of course if you
have >1000 components, use a bigger number.
Graham.
Sub Main
RunProcess ("Sch:FirstComponentLibraryEditor" )
DIM x AS integer
x=0
Do While x < 1000
Call ResetParameters
Call AddStringParameter("PartFieldName1", "OldName")
Call AddStringParameter("PartFieldName2", "DateEdited")
Call AddStringParameter("PartFieldName3", "SchLabel")
Call AddStringParameter("PartFieldName4", "DatasheetLink")
Call AddStringParameter("PartFieldName5", "Sutter#")
Call AddStringParameter("PartFieldName6", "Mentzer#")
Call AddStringParameter("PartFieldName7", "PbFree")
Call AddStringParameter("PartFieldName8", " ")
Call AddStringParameter("PartFieldName9", " ")
Call AddStringParameter("PartFieldName10", " ")
Call AddStringParameter("PartFieldName11", " ")
Call AddStringParameter("PartFieldName12", " ")
Call AddStringParameter("PartFieldName13", " ")
Call AddStringParameter("PartFieldName14", " ")
Call AddStringParameter("PartFieldName15", " ")
Call AddStringParameter("PartFieldName16", " ")
RunProcess("Sch:EditComponentDescriptionFields" )
Runprocess("Sch:NextcomponentLibraryEditor" )
x=x+1
loop
End Sub
____________________________________________________________
You are subscribed to the PEDA discussion forum
To Post messages:
mailto:[email protected]
Unsubscribe and Other Options:
http://techservinc.com/mailman/listinfo/peda_techservinc.com
Browse or Search Old Archives (2001-2004):
http://www.mail-archive.com/[email protected]
Browse or Search Current Archives (2004-Current):
http://www.mail-archive.com/[email protected]