Does anyone have some SKILL code that will clear silkscreen lines back x distance from pins, either as a group or individually? I want to use this during footprint building. Currently I have to use delete and cut to remove pieces of lines that run through pads.
In reply to eDave:
At present the CDS_ROOT maps to D:\adw\local_tools\spb_162
Thanks & Regards,
In reply to soori3:
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):
axlCmdRegister("clear pin silk" 'EDAVE_clearPinSilk ?cmdType "interactive")
Type clear pin silk on the command line to execute the code.
Hi, Dave, do i need to put in the following statement in the skill command
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
Thanks & regards,
In reply to soonlin:
Type these three lines (one at a time) into your Allegro console window:
skill axlCmdRegister("clear pin silk" 'EDAVE_clearPinSilk ?cmdType "interactive")
clear pin silk
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"ERRORSkill >
If i enter the three lines(one at a time) into your Allegro console window
Skill > skill loadContext("EDAVE_clearPinSilk.cxt")
clear pin silk 0.24 0.2E- *Error* eval: unbound variable - pinERROR
thanks for your reply
i enterd in command as you mentioned above but i got an error as shown below please help
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")
In reply to chads108:
Its works great thank u so much for your help ....:)
And also Dave thanks for your context file...:) it is simply super
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.
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.
Can you please help me for clearing the issue that i mentioned above
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.
I got it with the menu file but i am facing issue as i mentioned below please help me