Or you can modify the template.ddb in the Client99  folder  modify the
pcblayer.bas file.  I have alot of custom layer setups.

Mike Reagan




-----Original Message-----
From: Yuriy khapochkin [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 3:38 PM
To: 'Protel EDA Forum'
Subject: [PEDA] Layers sets.


Creation and usage of Layer Sets for Protel99SE SP6

1) Create database: "Macros.ddb"
2) Create file: "TopLayer.bas"
3) Content: of "TopLayer.bas",

' Select layers you want to turn On and Off according to you preferences
'
----------------------------------------------------------------------------
----------
Sub Main

  Call ResetParameters
  Call AddStringParameter ("TopSignal"         , "True"  )
  Call AddStringParameter ("Mid1"              , "False" )
  Call AddStringParameter ("Mid2"              , "False" )
  Call AddStringParameter ("Mid3"              , "False" )
  Call AddStringParameter ("Mid4"              , "False" )
  Call AddStringParameter ("Mid5"              , "False" )
  Call AddStringParameter ("Mid6"              , "False" )
  Call AddStringParameter ("Mid7"              , "False" )
  Call AddStringParameter ("Mid8"              , "False" )
  Call AddStringParameter ("Mid9"              , "False" )
  Call AddStringParameter ("Mid10"             , "False" )
  Call AddStringParameter ("Mid11"             , "False" )
  Call AddStringParameter ("Mid12"             , "False" )
  Call AddStringParameter ("Mid13"             , "False" )
  Call AddStringParameter ("Mid14"             , "False" )

  Call RunProcess ("Pcb:DocumentPreferences")

  Call ResetParameters
  Call AddStringParameter ("BottomSignal"      , "False" )
  Call AddStringParameter ("TopOverlay"        , "True"  )
  Call AddStringParameter ("BottomOverlay"     , "False" )
  Call AddStringParameter ("TopPaste"          , "False" )
  Call AddStringParameter ("BottomPaste"       , "False" )
  Call AddStringParameter ("TopSolder"         , "False" )
  Call AddStringParameter ("BottomSolder"      , "False" )
  Call AddStringParameter ("Plane1"            , "False" )
  Call AddStringParameter ("Plane2"            , "False" )
  Call AddStringParameter ("Plane3"            , "False" )
  Call AddStringParameter ("Plane4"            , "False" )
  Call AddStringParameter ("DrillGuide"        , "False" )
  Call AddStringParameter ("KeepOut"           , "True"  )

  Call RunProcess ("Pcb:DocumentPreferences")

  Call ResetParameters
  Call AddStringParameter ("Mechanical1"       , "True"  )
  Call AddStringParameter ("Mechanical2"       , "True"  )
  Call AddStringParameter ("Mechanical3"       , "False" )
  Call AddStringParameter ("Mechanical4"       , "False" )
  Call AddStringParameter ("Mechanical5"       , "False" )
  Call AddStringParameter ("Mechanical6"       , "False" )
  Call AddStringParameter ("Mechanical7"       , "False" )
  Call AddStringParameter ("Mechanical8"       , "False" )
  Call AddStringParameter ("Mechanical9"       , "False" )
  Call AddStringParameter ("Mechanical10"      , "False" )
  Call AddStringParameter ("Mechanical11"      , "False" )
  Call AddStringParameter ("Mechanical12"      , "False" )
  Call AddStringParameter ("Mechanical13"      , "True"  )
  Call AddStringParameter ("Mechanical14"      , "False" )
  Call AddStringParameter ("Mechanical15"      , "False" )
  Call AddStringParameter ("Mechanical16"      , "False" )
  Call AddStringParameter ("DrillDrawing"      , "False" )
  Call AddStringParameter ("MultiLayer"        , "True"  )

  Call RunProcess ("Pcb:DocumentPreferences")

End Sub
'---------------------------------------------------------------------------
-----------

4) Add button to the PCB editor
5) Button properties:

Process: MacroRunMacro
Parameters: DesignName=<path>\Macros.ddb | DocumentName = TopLayers.bas |
Language = ClientBasic
Bitmap File: <Icon you like>.bmp

6) Enjoy. :-)

Regards,
Yuriy Khapochkin

> -----Original Message-----
> From: Trent Bates [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 10, 2004 10:36 AM
> To: Protel EDA Forum
> Subject: [PEDA] Viewing a mirroed bottom layer and other layers
>
> I use Protel 99SE.
> Is it possible to view different layers and turn different
> layers on and off.  I know that by pressing <SHIFT> +S, I
> will view only the current layer but its it possible to
> select which layers are being viewed.  For example when
> looking at my top layer I would like to see the Top layer and
> the Top Layer overlay .





* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/leave.html
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Forum Guidelines Rules:
* http://www.techservinc.com/protelusers/forumrules.html
*
* Browse or Search previous postings:
* http://www.mail-archive.com/[EMAIL PROTECTED]
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to