• 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. axlDBCreateSymbol issue with mechanical symbols

Stats

  • Replies 4
  • Subscribers 159
  • Views 13175
  • Members are here 0
More Content

axlDBCreateSymbol issue with mechanical symbols

Ejlersen
Ejlersen over 10 years ago

Hi

I'm seeing something really weird here, hope someone can help me out.

I've created some code to place components but are seeing issues when trying to place mechanical symbols

corn.dra is a mechanical symbol with a resulting .bsm in the symbols subdir

corn.txt is the device file needed for the axl functions.

If I do 

p = axlDBCreateComponent("xyz1" "corn")

Then the part is created without any issue 

Howeven when I try to place it I get an error message

p = axlDBCreateSymbol("xyz1" 0.0:0.0 nil 0.0) 

E- (SPMHA1-161): Cannot open the design database file ... run standalone dbdoctor on the file. 

But If I go into standar place->manually then I can place the component without any issue.

Anyone with an idea as to whats causing this issue? 

It's on purpose that the part needs a refdes for a mechanical part and not just a normal mech part.

Best regards

Ole 

axlDBCreateSymbol.zip
  • Sign in to reply
  • Cancel
  • eDave
    eDave over 10 years ago

    Hi Ole,

    There are two syntaxes for  axlDBCreateSymbol. I suspect that when you manually place a mechanical symbol it uses the equivalent of the symbolData method. Do you really get a refdes on the manually placed mechanical component?

    Regards, Dave 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 10 years ago

    Hi Dave

    yes, I'm getting a refdes if I place it using the normal Place->Manually dialog after running the first command, you can see that in the board from the sample file.

    I'm already using both methods for axlDBCreateSymbol but for different purposes - if the component I want to place don't have a refdes then I use axlDBCreateSymbol('("fiducial" "mechanical") .....) but if it does have a refdes I use create component and then dbcreatesymbol - if The clas's for the component is "Mechanical" that's possible in front to back flow.

    best regards

    ole 

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

    Hi Ole,

    Yes, that does make sense. I try to avoid using mechanical symbols in that way but I now remember having done it before.

    I think you are on the way to needing to raise a service request for this. It shouldn't crash.

    Cheers,

    Dave 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 10 years ago

    Hi Dave

    SR created and waiting for response :-)

     Cheers

    Ole 

    • 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