• 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. How to change the Shape fill style

Stats

  • Replies 6
  • Subscribers 159
  • Views 16586
  • Members are here 0
More Content

How to change the Shape fill style

leonlee
leonlee over 16 years ago

I created 3 shapes with SKILL routine. And I want to change the shape's fill style from solid to crosshatch.
But I met a problem with the voids. Sometimes, some of the old voids are dispear, some of them are correct.

Below is the codes, which I simplified them:

;;Before running the SKILL tool, Shape is filled in Solid, and Shape1, Shape2 are filled in Hori_Vert.
;;Now I want to change Shape's fill sytle with myfill.
Layer="board geometry/test_layer"   ;;The test_layer is an example
myfill1=make_axlFill(?angle 45, ?origin 0:0, ?width 0.127, ?spacing 2.54)
myfill2=make_axlFill(?angle 135, ?origin 0:0, ?width 0.127, ?spacing 2.54)
myfill=list(myfill1 myfill2)  ;;to define the fill style
axlDBCreateShape(car(axlPolyFromDB(Shape)), myfill, Layer, nil, nil); To create a new shape
axlDeleteObject(Shape) 

I have tried to use the function: axlDBCreateOpenShape, axlDBCreateVoid and axlDBCreateCloseShape. But it is same situation.

 What is the reason?

Thanks.

  • Sign in to reply
  • Cancel
  • leonlee
    leonlee over 16 years ago

    I can't paste picture here, how yo upload local picture to my post?

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 16 years ago

    I raised a service request that should have seen this fixed in 16.0.

    I quick test gives me no problems in 16.01.

    You need to write some repeatable code and submit it as a new service request.

     Dave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • redwire
    redwire over 16 years ago

     See below.

    • photoadd.JPG
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • leonlee
    leonlee over 16 years ago

    OK, thanks

     

    The voids is no problem in solid shape.

    • Skill_error1.JPG
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • leonlee
    leonlee over 16 years ago

    Below is the incorrect one, the voids of Shape1 is disappeared.

    • Skill_error2.JPG
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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