Home > Community > Forums > PCB SKILL > Clear silkscreen from pins in Allegro Package

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Clear silkscreen from pins in Allegro Package 

Last post Sun, Oct 7 2012 10:13 PM by girish. 46 replies.
Started by chads108 29 Mar 2012 08:39 AM. Topic has 46 replies and 12495 views
Page 2 of 4 (47 items) < Previous 1 2 3 4 Next >
Sort Posts:
  • Tue, Aug 14 2012 3:59 AM

    • soori3
    • Top 500 Contributor
    • Joined on Mon, Aug 13 2012
    • Posts 26
    • Points 600
    Re: Clear silkscreen from pins in Allegro Package Reply

    Hello Dave,

     Thanks for your reply,

     Before i start with the skill files loading what i need to map the CDS_ROOT and HOME paths...?

    At present i have created a folder skill at the location  D:\adw_projects\pcbenv\

    And also i have created a text file and changed the extension to .ilinit and placed the file in the above location

     Thanks & Regards,

    Suresh Annam

    • Post Points: 5
  • Tue, Aug 14 2012 4:00 AM

    • soori3
    • Top 500 Contributor
    • Joined on Mon, Aug 13 2012
    • Posts 26
    • Points 600
    Re: Clear silkscreen from pins in Allegro Package Reply

    Hello Dave,

     At present the CDS_ROOT maps to D:\adw\local_tools\spb_162 

      

    Thanks & Regards,

    Suresh Annam

    • Post Points: 20
  • Tue, Aug 14 2012 1:20 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 707
    • Points 15,395
    Re: Clear silkscreen from pins in Allegro Package Reply

    CDSROOT should point to your Cadence installation (c:\cadence\spb_16.5)

    ALLEGRO_SITE should point to your site setup folder: eg. X:\CadenceSetup\pcb

    A Skill folder should exist below this. eg.  X:\CadenceSetup\pcb\Skill

    Place your Skill files (including  allegro.ilinit and context files) in there 

    In Skill (or allegro.ilinit):

    loadContext("EDAVE_clearPinSilk.cxt")

    axlCmdRegister("clear pin silk" 'EDAVE_clearPinSilk ?cmdType "interactive")

    Type  clear pin silk on the command line to execute the code.

     Regards,

    Dave 

     

    Dave Elder, Tait Communications
    • Post Points: 5
  • Tue, Aug 14 2012 10:00 PM

    • soonlin
    • Not Ranked
    • Joined on Wed, Mar 3 2010
    • Posts 3
    • Points 45
    Re: Clear silkscreen from pins in Allegro Package Reply

     Hi, Dave, do i need to put in the following statement in the skill command

    axlCmdRegister("clear pin silk" 'EDAVE_clearPinSilk ?cmdType "interactive")

    It shown W- *WARNING* (reader): extra ')' ignored at line 1 of string ""interactive")"
    "interactive"

    and when i type in the command line with clear pin silk

    error command is

    E- Command not found: clear pin silk

     

    Please advise.

     

    Thanks & regards,

     

    • Post Points: 20
  • Tue, Aug 14 2012 10:59 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 707
    • Points 15,395
    Re: Clear silkscreen from pins in Allegro Package Reply

    Type these three lines (one at a time) into your Allegro console window: 

    skill loadContext("EDAVE_clearPinSilk.cxt")

    skill axlCmdRegister("clear pin silk" 'EDAVE_clearPinSilk ?cmdType "interactive")

    clear pin silk 

    Dave Elder, Tait Communications
    • Post Points: 20
  • Wed, Aug 15 2012 11:17 PM

    • soori3
    • Top 500 Contributor
    • Joined on Mon, Aug 13 2012
    • Posts 26
    • Points 600
    Re: Clear silkscreen from pins in Allegro Package Reply

    Hello Dave,

     i have placed the cxt file in the skill folder

    and if i execute iam getting the below error

    Skill >  loadContext("EDAVE_clearPinSilk.cxt")
    E- *Error* loadContext: could not open file - "EDAVE_clearPinSilk.cxt"
    ERROR
    Skill >

    If i enter the three lines(one at a time) into your Allegro console window

    Skill > skill loadContext("EDAVE_clearPinSilk.cxt")

    skill axlCmdRegister("clear pin silk" 'EDAVE_clearPinSilk ?cmdType "interactive")

    clear pin silk 0.24 0.2
    E- *Error* eval: unbound variable - pin
    ERROR

     

    Thanks,

    Suresh Annam

    • Post Points: 20
  • Tue, Aug 21 2012 5:58 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 707
    • Points 15,395
    Re: Clear silkscreen from pins in Allegro Package Reply
    Add the path to the context file in the loadContext command: eg: loadContext("C:/MySkill/EDAVE_clearPinSilk/EDAVE_clearPinSilk.cxt") This context will only work in 16.5
    Dave Elder, Tait Communications
    • Post Points: 20
  • Fri, Aug 24 2012 5:02 AM

    • soori3
    • Top 500 Contributor
    • Joined on Mon, Aug 13 2012
    • Posts 26
    • Points 600
    Re: Clear silkscreen from pins in Allegro Package Reply

    hello dave,

     

    thanks for your reply

    i enterd in command as you mentioned above but i got an error as shown below please help

    error

     


    • Post Points: 35
  • Fri, Aug 24 2012 6:08 AM

    • chads108
    • Top 50 Contributor
    • Joined on Thu, Mar 29 2012
    • Plano, TX
    • Posts 159
    • Points 2,740
    Re: Clear silkscreen from pins in Allegro Package Reply

    Suresh,

    Hopefully this will help.  Here is a copy of my entire allegro.ilinit file.  This SKILLl routine works for me, so I know that this is correct.  My allegro.ilinit file is in the same folder as my SKILL files.  I have this allegro.ilinit file set up to load all the SKILL files I currently have in the directory.  Notice especially the last two lines which load the SKILL routine in question.

    unless(boundp('LoadSkillFilesDebug) 
            LoadSkillFilesDebug = axlGetVariable("LoadSkillFilesDebug"))
     
    when(LoadSkillFilesDebug printf("\n"))
    (foreach file (rexMatchList "\\.il$" (getDirFiles "."))
          when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
          (load strcat("./" file))
    )

    when(LoadSkillFilesDebug printf("\n"))


    (loadContext "EDAVE_clearPinSilk.cxt")

    (axlCmdRegister "clear pin silk" 'EDAVE_clearPinSilk ?cmdType "interactive")

     

    • Post Points: 20
  • Fri, Aug 24 2012 7:03 AM

    • soori3
    • Top 500 Contributor
    • Joined on Mon, Aug 13 2012
    • Posts 26
    • Points 600
    Re: Clear silkscreen from pins in Allegro Package Reply

    Hello Chads,

    Its works great thank u so much for your help ....:)

    And also Dave thanks for your context file...:) it is simply super

    Thanks,

    Suresh Annam

    • Post Points: 5
  • Fri, Aug 24 2012 1:43 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 707
    • Points 15,395
    Re: Clear silkscreen from pins in Allegro Package Reply

    You must load the Skill lines one at a time.

    Many new users must fall into this trap.You might like to raise a service request with Cadence to try to get this changed. 

    Dave Elder, Tait Communications
    • Post Points: 35
  • Sun, Aug 26 2012 9:57 PM

    • soori3
    • Top 500 Contributor
    • Joined on Mon, Aug 13 2012
    • Posts 26
    • Points 600
    Re: Clear silkscreen from pins in Allegro Package Reply

    Hello,

    Here i am having some more issues while running the context file

    1). It is not working for silkscreen bottom.

    2). It is not working properly for circular silkscreen.

          a. Creating an extra circle with lesser radius

          b. Not clearing properly at the right side bottom of the circle.

    Thanks,

    Suresh Annam

     


    • Post Points: 5
  • Mon, Aug 27 2012 5:24 AM

    • chads108
    • Top 50 Contributor
    • Joined on Thu, Mar 29 2012
    • Plano, TX
    • Posts 159
    • Points 2,740
    RE: Clear silkscreen from pins in Allegro Package Reply
    Yes, just like you would call any other SKILL routine.  Here is a line from my menu:
     
     MENUITEM "Clear SS 0.15mm...",                    "clear pin silk 0.15 0.2"

    Chad
    • Post Points: 5
  • Wed, Aug 29 2012 9:35 PM

    • soori3
    • Top 500 Contributor
    • Joined on Mon, Aug 13 2012
    • Posts 26
    • Points 600
    Re: Clear silkscreen from pins in Allegro Package Reply

    Hello Dave

    Can you please help me for clearing the issue that i mentioned above

     Regards,

    Suresh

    • Post Points: 20
  • Wed, Aug 29 2012 9:56 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 707
    • Points 15,395
    Re: Clear silkscreen from pins in Allegro Package Reply

    Hi,

    Yes, as Chad said, add a line like this somewhere appropriate in your allegro.men menu file:

    MENUITEM "Clear SS 0.15mm...",                    "clear pin silk 0.15 0.2"

    You shouldn't edit the installation menu file. Copy a new one from C:\Cadence\SPB_16.5\share\pcb\text\cuimenus\allegro.men to a path that you need to set in your user preferences menupath variable. You can test it first by placing it in your working directory.

    Dave Elder, Tait Communications
    • Post Points: 20
Page 2 of 4 (47 items) < Previous 1 2 3 4 Next >
Sort Posts:
Started by chads108 at 29 Mar 2012 08:39 AM. Topic has 46 replies.