Home > Community > Forums > PCB SKILL > finding value es from CM in SKILL

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: *

 finding value es from CM in SKILL 

Last post Wed, May 31 2006 11:24 AM by archive. 2 replies.
Started by archive 31 May 2006 11:24 AM. Topic has 2 replies and 1659 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, May 31 2006 11:24 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    finding value es from CM in SKILL Reply

    I am writing an Allegro SKILL program that needs to ignore power nets.  So I first coded it to look for the VOLTAGE property on a net and that worked fine.  Then I specified the VOLTAGE property using the Constraint Manager and now I can't find the VOLTAGE setting in the design in SKILL.   Voltage is "General Property" and can't be put into an ECSET so I don't think the various Ecset SKILL functions will work.

    Any thoughts about how to get information from the "General Properties" section of the Constraint Manager?  Or get them back into the design so they are really properties I can find the old way.



    Originally posted in cdnusers.org by dallas
    • Post Points: 0
  • Wed, May 31 2006 12:32 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: finding value es from CM in SKILL Reply

    Try adding the voltage property to the net(s) instead of adding them as part of an ECSet.
    Open the General Properties worksheet in the Nets folder.
    You may then use some skill to find the VOLTAGE properties.
    For example something like

    designnets = axlDBGetDesign() ->nets
    ignorednets = '()
    count = 0
    foreach(xx designnets
       mynet = nth(count++ designnets)
       netprops = mynet -> prop -> ??
       count1 = 0
       if(netprops != nil
          then
          foreach(xx netprops
             pmember = nth(count1++ netprops)
             if(pmember == "VOLTAGE"
                then
                ignorenet = 1
             ); end if
          ); end foreach
       ); end if
       if(ignorenet == 1
          then
          ignorednets = cons(mynet ignorednets)
       ); end if
    ); end foreach





     


    Originally posted in cdnusers.org by AshCan
    • Post Points: 0
  • Wed, May 31 2006 1:00 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: finding value es from CM in SKILL Reply

    Thanks. I tried putting it in the General Properties and couldn't see it in the design. I just tried it again and now it works - like I thought it did in the first place.

    Weird. I hate it when things don't work as expect - then work as expected.


    Originally posted in cdnusers.org by dallas
    • Post Points: 0
Page 1 of 1 (3 items)
Sort Posts:
Started by archive at 31 May 2006 11:24 AM. Topic has 2 replies.