• 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 Scripting - Skill
  3. poly_relationship_and = axlPolyOperation( poly1 poly2 'AND...

Stats

  • State Not Answered
  • Replies 4
  • Subscribers 17
  • Views 2125
  • Members are here 0
More Content

poly_relationship_and = axlPolyOperation( poly1 poly2 'AND), E- (SPMHA1-507): PolyBool has hit an assert.

kobe882424
kobe882424 over 1 year ago

hi,

Have you encountered the following problem?

thanks

Skill > poly1 
(poly:000001900D87E308)
Skill > poly2
(poly:000001900D87A1A0)

Skill > poly_relationship_and = axlPolyOperation( poly1 poly2 'AND)

E- (SPMHA1-507): PolyBool has hit an assert.

  • Cancel
  • Sign in to reply
  • Hoangkhoipcb
    0 Hoangkhoipcb over 1 year ago

    Hi kobe882424

    try this code:

    if(poly1->holes != nil && poly2->holes != nil then poly_relationship_and = axlPolyOperation( poly1 poly2 'AND) else print("Need process holes"))

    HoangKhoi,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kobe882424
    0 kobe882424 over 1 year ago in reply to Hoangkhoipcb

    Thanks HoangKhoi. the poly'holes is indeed nil.

    did poly's holes must be  not nil?

    if it'holes is nil, what shall i do ?

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hoangkhoipcb
    0 Hoangkhoipcb over 1 year ago in reply to kobe882424

    The poly hole is not reason. I've tried there's not issue error "E- (SPMHA1-507): PolyBool has hit an assert."
    Please to searching solution other.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kobe882424
    0 kobe882424 over 1 year ago in reply to Hoangkhoipcb

    Thanks HoangKhoi.

    i tried  and found that the quetion exists in one pcb design but not in other pcbs with the same allegro version(17.2S079), but  i don't know the difference.

    • 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