Home > Community > Forums > PCB SKILL > axlDBCreateSymDefSkeleton

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 axlDBCreateSymDefSkeleton 

Last post Wed, Feb 27 2008 8:32 AM by archive. 1 replies.
Started by archive 27 Feb 2008 08:32 AM. Topic has 1 replies and 1227 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Feb 27 2008 8:32 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    axlDBCreateSymDefSkeleton Reply

    I need to use DefSkeletion in a skill code to create a SymDef
    I have used DefSkeletion in the "format" option before and it works great
    however using the "package" option, I am not sure if I have the defstruct fro the pins correct.
    when I run my code it does not return a SymdefDB
    any ideas please let me know
    thanks

    pins = list( make_axlPinData( ?number "1", ?padstack "10S", ?origin -10:0 ?rotation 0 )
                       make_axlPinData( ?number "2", ?padstack "10S", ?origin  10:0 ?rotation 0 )
               );end-list

    sym_id = axlDBCreateSymDefSkeleton( list( package "package" ) bBox pins )

    symbolDB = car( axlDBCreateSymbolSkeleton( ref_des XY nil 0 nil ))




    Originally posted in cdnusers.org by smorga01
    • Post Points: 0
  • Wed, Feb 27 2008 11:46 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: axlDBCreateSymDefSkeleton Reply

    Hi,

    Everything is OK apart from the last line.
    You appear to be trying to add a symbol with a reference desiginator. That won't work like that.
    Try the following:
    symbolDB = car(axlDBCreateSymbol(list(package, "package"), XY)
    You won't easily be able to create a symbol with a reference designator - although it should be possible.
    I think you might have to use axlDBCreateConceptComponent (good luck!) or create a Device file and use axlDBCreateComponent.

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 27 Feb 2008 08:32 AM. Topic has 1 replies.