• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Scaled Assembly Drawing with Filled Pads and Non-Vectorized...

Stats

  • State Suggested Answer
  • Replies 7
  • Answers 1
  • Subscribers 160
  • Views 2021
  • Members are here 0
More Content

Scaled Assembly Drawing with Filled Pads and Non-Vectorized Text

BK20241203831
BK20241203831 4 months ago

We have pre-defined template page size of 21" x 32" for assembly drawings. I need to do the following:

  • Top and bottom scaled assemblies of the PCBA on the same page.
  • Filled pads. 
  • PDF searchable reference designators. 

I have tried the following with no luck:

  • IPF (plot): all the requirements above are met expect for filled pads. 
  • Manufacture > Drafting > Create Detail: Text is not searchable. 

Any other suggestions? 

Thank you!

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    0 DavidJHutchins 4 months ago

    Could you load the artwork layers for soldermask to get filled pads for top & bottom sides?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • BK20241203831
    0 BK20241203831 4 months ago in reply to DavidJHutchins

    Tried. No luck! 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DavidJHutchins
    0 DavidJHutchins 4 months ago in reply to BK20241203831

    OK, getting the artwork data to align with the plot data is a PITA

    I started writing a skill routine to create filled shapes from the plot data, found an issue with rotated pads, attempting to debug...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DavidJHutchins
    0 DavidJHutchins 4 months ago in reply to DavidJHutchins

    below is a skill utility that will convert the figures & line draws into filled shapes

    procedure((fill_plt @optional (Layer ""))
    let((Boundary LayerName Mid_X Mid_Y Radius r_path Status fst lst DeleteList PathList)
    axlVisibleDesign(nil)
    (Boundary = "paramLayerGroup:MANUFACTURING")
    foreach(Child ((axlGetParam Boundary)->groupMembers)
    if(nindex(Child "PEN") then
    (LayerName = strcat("MANUFACTURING/" Child))
    axlMsgPut("viewing %s" LayerName)
    axlVisibleLayer(LayerName t)
    )
    )
    if(strlen(Layer) > 0 then
    (Layer = strcat("MANUFACTURING/" Layer))
    else
    (Layer = strcat("MANUFACTURING/" axlUIPrompt( "Enter Manufacturing Layer name" "Plot" )))
    )
    (axlLayerCreateNonConductor Layer)
    axlVisibleLayer(Layer t)
    (axlSetActiveLayer Layer)
    ;;
    (axlSetFindFilter ?enabled '(noall lines figures) ?onButtons '(noall lines figures))
    axlAddSelectAll()
    foreach(Child axlGetSelSet()
    if(Child->objType == "figure" then
    ;axlMsgPut("checking %s" Child->figureName)
    (Mid_X = car(axlMidPointLine(Child->bBox)))
    (Mid_Y = cadr(axlMidPointLine(Child->bBox)))
    if(Child->figureName == "CIRCLE" then
    (Radius = ((caadr(Child->bBox)-caar(Child->bBox))/2))
    (r_path = axlPathStartCircle(list(list(Mid_X Mid_Y) Radius) 0.0))
    (Status = axlDBCreateShape(r_path t Layer nil nil))
    (DeleteList = cons(Child DeleteList))
    )
    if(Child->figureName == "RECTANGLE" then
    (Status = axlDBCreateRectangle(list(car(Child->bBox) cadr(Child->bBox)) t Layer nil nil))
    (DeleteList = cons(Child DeleteList))
    )
    if(Child->figureName == "SQUARE" then
    (Status = axlDBCreateRectangle(list(car(Child->bBox) cadr(Child->bBox)) t Layer nil nil))
    (DeleteList = cons(Child DeleteList))
    )
    else
    if((Child->objType == "path") && (Child->nSegs > 1) then
    (fst = car(Child->segments))
    (lst = car(last(Child->segments)))
    ;axlMsgPut("checking %s %A %A" Child->objType car(fst->startEnd) cadr(lst->startEnd))
    if(eqv(car(car(fst->startEnd)) car(cadr(lst->startEnd))) && eqv(cadr(car(fst->startEnd)) cadr(cadr(lst->startEnd))) then
    (PathList = cons(Child PathList))
    ;axlMsgPut("Pass")
    else
    ;axlMsgPut("Fail")
    )
    )
    )
    )
    axlMsgPut("Deleting %d figures" length(DeleteList))
    (axlDeleteObject DeleteList)
    axlMsgPut("Converting %d lines to filled shapes" length(PathList))
    (Status = axlDBComposeShapesFromLines(PathList nil nil Layer t nil t))
    )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • DavidJHutchins
    0 DavidJHutchins 4 months ago in reply to DavidJHutchins

    below is a skill utility that will convert the figures & line draws into filled shapes

    procedure((fill_plt @optional (Layer ""))
    let((Boundary LayerName Mid_X Mid_Y Radius r_path Status fst lst DeleteList PathList)
    axlVisibleDesign(nil)
    (Boundary = "paramLayerGroup:MANUFACTURING")
    foreach(Child ((axlGetParam Boundary)->groupMembers)
    if(nindex(Child "PEN") then
    (LayerName = strcat("MANUFACTURING/" Child))
    axlMsgPut("viewing %s" LayerName)
    axlVisibleLayer(LayerName t)
    )
    )
    if(strlen(Layer) > 0 then
    (Layer = strcat("MANUFACTURING/" Layer))
    else
    (Layer = strcat("MANUFACTURING/" axlUIPrompt( "Enter Manufacturing Layer name" "Plot" )))
    )
    (axlLayerCreateNonConductor Layer)
    axlVisibleLayer(Layer t)
    (axlSetActiveLayer Layer)
    ;;
    (axlSetFindFilter ?enabled '(noall lines figures) ?onButtons '(noall lines figures))
    axlAddSelectAll()
    foreach(Child axlGetSelSet()
    if(Child->objType == "figure" then
    ;axlMsgPut("checking %s" Child->figureName)
    (Mid_X = car(axlMidPointLine(Child->bBox)))
    (Mid_Y = cadr(axlMidPointLine(Child->bBox)))
    if(Child->figureName == "CIRCLE" then
    (Radius = ((caadr(Child->bBox)-caar(Child->bBox))/2))
    (r_path = axlPathStartCircle(list(list(Mid_X Mid_Y) Radius) 0.0))
    (Status = axlDBCreateShape(r_path t Layer nil nil))
    (DeleteList = cons(Child DeleteList))
    )
    if(Child->figureName == "RECTANGLE" then
    (Status = axlDBCreateRectangle(list(car(Child->bBox) cadr(Child->bBox)) t Layer nil nil))
    (DeleteList = cons(Child DeleteList))
    )
    if(Child->figureName == "SQUARE" then
    (Status = axlDBCreateRectangle(list(car(Child->bBox) cadr(Child->bBox)) t Layer nil nil))
    (DeleteList = cons(Child DeleteList))
    )
    else
    if((Child->objType == "path") && (Child->nSegs > 1) then
    (fst = car(Child->segments))
    (lst = car(last(Child->segments)))
    ;axlMsgPut("checking %s %A %A" Child->objType car(fst->startEnd) cadr(lst->startEnd))
    if(eqv(car(car(fst->startEnd)) car(cadr(lst->startEnd))) && eqv(cadr(car(fst->startEnd)) cadr(cadr(lst->startEnd))) then
    (PathList = cons(Child PathList))
    ;axlMsgPut("Pass")
    else
    ;axlMsgPut("Fail")
    )
    )
    )
    )
    axlMsgPut("Deleting %d figures" length(DeleteList))
    (axlDeleteObject DeleteList)
    axlMsgPut("Converting %d lines to filled shapes" length(PathList))
    (Status = axlDBComposeShapesFromLines(PathList nil nil Layer t nil t))
    )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • BK20241203831
    0 BK20241203831 4 months ago in reply to DavidJHutchins

    Thanks, David! 

    Tried to use the script, but then I realized that when I export and then import plot file (IPF), all pads turn into a "Figure" as a DRAWING FORMAT. I am not able to find a way to fill "Figure" objects in Allegro. 

    Do you know if there is a way to fill "Figures"? I can then modify the script for it. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DavidJHutchins
    0 DavidJHutchins 4 months ago in reply to BK20241203831

    I modified the command to now allow the use to specify both the Class & Subcass, below is an example from the journal file:

    \i (00:03:00) fill_ipf 'Drawing Format' ipf_plot
    \t (00:03:01) Deleting 1013 figures
    \t (00:03:01) Converting 708 lines to filled shapes
    \e (00:04:21) ERROR(SPMHDB-187): SHAPE boundary may not cross itself.
    (00:04:21) *WARNING* (axlDBShape): Shape is not legal for Allegro, run dbdoctor
    \e (00:04:21) ERROR(SPMHDB-187): SHAPE boundary may not cross itself.
    (00:04:21) *WARNING* (axlDBShape): Shape is not legal for Allegro, run dbdoctor
    (00:04:22) Loading apt.cxt
    (00:04:22) Loading apt_utils.cxt
    \i (00:04:22) generaledit

    the attached zip file contains the latest skill code

    fill_ipf.zip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information