Hai,
I would like to change the shape origin to an arc using skill program if anyone knows please share me the skill code.
Regards
Karthi keyan.k
Hai,
I would like to change the shape origin to an arc using skill program if anyone knows please share me the skill code.
Regards
Karthi keyan.k
Hi Guys,
I try to mirror some of the artwork film and generate PDF.
but the output PDF does not mirror even the "mirrored setting" in artwork film already set.
If manually do everything(file>export>pdf), without save the design, i able to print the pdf according to mirror setting.....must be something wrong in coding.
unless i add in "axlsavedesign", only i got the result with mirror.
Anyway to modifier the coding without add in "axlsavedesign"? =(
Eugene
the system assigned voltages are utterly nonsense, which i have to clean up.
delete them one by one is tedious indeed.
tia
Hai,
I want to flip the selected part form Top to Bottom i attached the sample images that i want to do by skill code can you help me how to do it if any body knows share me the skill code please iam new to skill.
NORMAL IMAGE:
MIRROR IMAGE:
This is probably a basic question, but for some reason I'm not finding an answer by playing around with code, reading the docs, or Googling. Surely my fault.
How can I copy a file from one location to another? In my case, I want to snag a file from $CDS_SITE that is used for configuration and bring it local.
Not finding a direct SKILL function my belief was I could call to the host OS for a file copy but I don't see that function either. I do not want to simply read the file contents and produce a copy that way, which I can do.
Thanks!
hai,
I would like to mirror top to bottom i attached the code but that code mirrored left to right any one please recorrect the code send me please i am new to skill
axlCmdRegister("mirror_box" 'mirror_box ?cmdType "interactive")
symDBID = nil
procedure(mirror_box()
let( (symDBID UC_mbMark UC_mbPopup notdone)
axlSetFindFilter(?enabled '("NOALL" "SYMBOLS" "VIAS" "CLINES" "LINES" "SHAPES" "TEXT")
?onButtons '("SYMBOLS" "VIAS" "CLINES" "LINES" "SHAPES" "TEXT"))
;; Set the Control Panel to the Find tab
axlControlRaise('find)
UC_mbMark = axlDBTransactionStart()
UC_mbPopup = axlUIPopupDefine( nil (list
(list "Oops" 'UC_mbOops)
(list "Mirror" 'UC_mbMirror)
(list "Done" 'UC_mbDone)
(list "Cancel" 'UC_mbCancel)
))
axlUIPopupSet(UC_mbPopup)
notdone = t
while(notdone
symDBID = axlGetSelSet(axlSelect(?prompt "Select objects to mirror"))
axlDBTransactionMark(UC_mbMark)
if(symDBID then
axlTransformObject(symDBID, ?mirror t)
); endif
); end while
)); let and procedure
procedure(UC_mbMirror()
axlTransformObject(symDBID, ?mirror t)
axlClearSelSet()
);end procedure
procedure(UC_mbOops()
axlDBTransactionOops(UC_mbMark)
axlClearSelSet()
); end procedure
procedure(UC_mbCancel()
axlUIWPrint(nil "** All changes Cancelled ! **")
axlDBTransactionRollback(UC_mbMark)
notdone = nil
axlClearSelSet()
axlCancelEnterFun()
axlUIPopupSet( nil)
); end procedure
procedure(UC_mbDone()
axlUIWPrint(nil "Done")
axlDBTransactionCommit(UC_mbMark)
notdone = nil
axlClearSelSet()
axlFinishEnterFun()
axlUIPopupSet( nil)
); end procedure
Disclaimer: I have never coded in SKILL before.
How does one generate an OK dialog box? I tried hiDisplayAppDBox but that appears to be an IC SKILL function only. Must one create a form for an OK dialog box (this seems crazy to me but there seems to be no other obvious way to do this).
Thanks.
I am trying to remove some voids on dynamic filled shapes when some criteria is met. I have try two approaches:
1. extract the polygons from the voids and build shapes from these polygons (expand a little bit for overlap). Then merge these shapes. But this is slow.
2. I would like to use the axlDBOpenShape, axlShapeDeleteVoids, and axlDBCloseShape to delete these voids. But I get the warning below.
*WARNING* (axlShapeDeleteVoids): Cannot delete voids in an auto-generated shape
Then I trie to axlDBOpenShape(i_shape->shapeBoundary) to open the boundary shape instead, then the operation would delete the whole shape.
Any ideas? Thanks!!!!!
Hai,
I want to take dangling line report layer wise is there is any way to take layer wise dangling line report. Where in the quick report it shows whole. if any body knows how to get layer wise dangling line report using skill or any other ways please guide me. or share me the skill code i am new to skill.
Regards
KARTHI
hai,
I want to mirror in same layer i attached the code below but that code changed the layer i want that in same layer can you please help me using skill code.
axlCmdRegister("mirror_box" 'mirror_box ?cmdType "interactive")
mirror_objs = nil
procedure(mirror_box()
let( (mirror_objs UC_mbMark UC_mbPopup notdone)
axlSetFindFilter(?enabled '("NOALL" "SYMBOLS" "VIAS" "CLINES" "LINES" "SHAPES" "TEXT")
?onButtons '("SYMBOLS" "VIAS" "CLINES" "LINES" "SHAPES" "TEXT"))
;; Set the Control Panel to the Find tab
axlControlRaise('find)
UC_mbMark = axlDBTransactionStart()
UC_mbPopup = axlUIPopupDefine( nil (list
(list "Oops" 'UC_mbOops)
(list "Mirror" 'UC_mbMirror)
(list "Done" 'UC_mbDone)
(list "Cancel" 'UC_mbCancel)
))
axlUIPopupSet(UC_mbPopup)
notdone = t
while(notdone
mirror_objs = axlGetSelSet(axlSelect(?prompt "Select objects to mirror"))
axlDBTransactionMark(UC_mbMark)
if(mirror_objs then
axlTransformObject(mirror_objs, ?mirror t ?angle 180.0 ?allOrNone nil)
); endif
); end while
)); let and procedure
;---------------------------------------------------------------------
procedure(UC_mbMirror()
axlTransformObject(mirror_objs, ?mirror t ?angle 180.0 ?allOrNone nil)
axlClearSelSet()
);end procedure
;---------------------------------------------------------------------
procedure(UC_mbOops()
axlDBTransactionOops(UC_mbMark)
axlClearSelSet()
); end procedure
;---------------------------------------------------------------------
procedure(UC_mbCancel()
axlUIWPrint(nil "** All changes Cancelled ! **")
axlDBTransactionRollback(UC_mbMark)
notdone = nil
axlClearSelSet()
axlCancelEnterFun()
axlUIPopupSet( nil)
); end procedure
;---------------------------------------------------------------------
procedure(UC_mbDone()
axlUIWPrint(nil "Done")
axlDBTransactionCommit(UC_mbMark)
notdone = nil
axlClearSelSet()
axlFinishEnterFun()
axlUIPopupSet( nil)
); end procedure
I can run a skill function from the command line but not from a menu.
Running from the menu, I get "command not found: skill_function"
Do I need to do something else so that this function can be seen?
the .il file is placed in the %CDS_SITE%\PCB\skill folder and I have axlCmdRegister("skill function" 'skill_function)
Thanks
Hai,
I want to generate a report with Dangling lines & vias, Unconnected pins and unplaced components in single report using skill code i don't know how to do any one knows please share me the skill code please.
Regards
Karthi
Hi Guys,
I am trying to develop a script to cut the segment 2mm apart, center of the line selected by user.
but i not sure how to create script that can cut multiple segment without re-run the script.
Here is my content, hope to get some input from you.=)
axlCmdRegister( "millin2g" `cutsegment ?cmdType "general")
(defun cutsegment ()
line_ya = 0
line_yb = 0
line_xa = 0
line_xb = 0
loop = t
gap = 2
while( loop
axlClearSelSet()
axlSetFindFilter( ?enabled (list "noall" "linesegs") ?onButtons (list "alltypes"))
axlSelect()
line = car(axlGetSelSet())
line_type = line->lineType
if(line_type == nil then
axlUIWPrint(nil "Please select line" )
axlClearSelSet()
axlShell("done")
loop = t
else
line_center = axlMidPointLine(list(car(line->startEnd) car(cdr(line->startEnd))))
case( strcat(line_type)
("horizontal" ;y is same from point xa to xb
line_xa = car(axlMidPointLine(line->startEnd))- gap
line_xb = car(axlMidPointLine(line->startEnd))+ gap
line_ya = car(cdr(line_center))
line_yb = line_ya
axlShell("done")
axlClearSelSet()
_cut(line_xa line_ya line_xb line_yb)
loop = nil
)
("vertical" ;x is same from point ya to yb
line_xa = car(line_center)
line_xb = line_xa
line_ya = car(cdr(axlMidPointLine(line->startEnd)))- gap
line_yb = car(cdr(axlMidPointLine(line->startEnd)))+ gap
axlShell("done")
axlClearSelSet()
_cut(line_xa line_ya line_xb line_yb)
loop = nil
)
)
)
)
)
Eugene
Hai,
I want compare the two .brd file for placement comparison it returns the un equaled (Ref des, XY location, Rotation, Mirror check, Symbol name) these five unequaled values want to be generate as a report i dont know how to do in skill code any one can help me please . The result could be form as a report
Hi Experts,
I was trying to generate a report about text block from PCB editor and output file name should be on footprint name.
Thanks.
Hai
Any one knows how to get symbol name report using skill code if anybody knows just share me the skill code please.
When I open my .dsn file. The error show : ERROR(ORCAP-1153):Cannot have a design without ROOT. The folder saved first will be designated as ROOT. User can change the root to Maintain TOP to DOWN Hierarchy.
and the session log show : INFO(ORDBDLL-1187):READ fail for schematic:SCHEMATIC1
However, my colleague's computer can open the file normally
Anyone can help me to solve this problems?
Many thanks.
Another basic question... I have looked through the Cadence SKILL documentation but haven't found anything, most likely due to my non-existent SKILL.
I'm trying to create a guidance script with YESNO messages but non-blocking so the user can do measurements while the message box is displayed before moving onto the next message box. Is this possible with a standard SKILL command? If so, what is it called?
Thanks
Hai,
I have a doubt in mirror object axlTransformObject- ?mirror 'GEOMETRY i used this for mirroring an object in same layer its only works in top layer bottom it is not working how to i do this in bottom for same layer using skill please any one guide me i share my conditions used.
axlDBTransactionMark(vm)
if(mirror_objs then
b = 'GEOMETRY
axlTransformObject(mirror_objs, ?mirror b ?angle 180.0 ?allOrNone nil)
); endif
); end while
While Using Top layer Its mirrored in TOP layer Its working fine But in Bottom Layer We used Means it moved to TOP I Want to Mirror same in Bottom how to solve this problem Any one guide me please.
hi can anyone help with this.
im trying to run Ravel Rules in different boards, theres one board that has error .
how can I solve it ??
here is the error in command window : E- *Error* getDirFiles: nonexistent or permission denied - "."
TIA