APD/Allegro SKILL Question -- Newbie SKILL User

J

Jack_Rabbit

Guest
Is there any way to access the component definition of a component
instance and retrieve its property definitions/values via SKILL?

The following is a copy of a listing output by the Show Element command
in the drawing editor. It tells me that a property named VALUE with a
a value of 10000pF is attached to the component definiton.

LISTING: 1 element(s)

< COMPONENT INSTANCE >

Reference Designator: C9
Package Symbol: LTCC_0201_SMD_A

Component Class: DISCRETE
Device Type: 21ASA10506D363
Value: 10000pF

Placement Status: PLACED
origin-xy: (344.00 2946.00)
rotation: 270.000 degrees
not_mirrored

Function(s):
Designator: TF-1248
Type: 21ASA10506D363
Pin(s): 1, 2

Properties attached to component definition
VALUE = 10000pF

Pin IO Information:
Pin Type SigNoise Model Net
--- ---- -------------- ---
1 UNSPEC GROUND
2 UNSPEC NODE_CLTCC17_1


Here's a simple procedure that I wrote in an attempt to capture the value
of the VALUE property. This obviously doen't return the information that
I'm looking for, but I don't see any other component attributes that
can be used to access the component definition. Is it possible?

procedure(Test()
let((thisDesign, component)
thisDesign = axlDBGetDesign()
foreach(component thisDesign->components
print(component->name)
printf("\t")
print(axlDBGetProperties(component->symbol))
printf("\n")
) ; next component
) ; end let
) ; Test

Output from above procedure:

"LTCC1" ((FIXED t))
"FL1" nil
"U1" nil
"C6" nil
"C4" nil
"C16" nil
"C12" nil
"C11" nil
"C1" nil
"C5" nil
"C7" nil
"C8" nil
"C9" nil
"C10" nil
"C13" nil
"L3" nil
"L2" nil
"L5" nil
"L4" nil
"L1" nil
"R8" nil
"R2" nil
"R7" nil
"R6" nil
"R5" nil
"R4" nil
"R3" nil
"R1" nil
"CLTCC9" nil
"CLTCC8" nil
"CLTCC6" nil
"CLTCC5" nil
"CLTCC4" nil
"CLTCC3" nil
"CLTCC20" nil
"CLTCC18" nil
"CLTCC17" nil
"CLTCC16" nil
"CLTCC11" nil
"CLTCC10" nil
"C14" nil
"C2" nil
"C15" nil
 

Welcome to EDABoard.com

Sponsor

Back
Top