Home > Community > Forums > PCB SKILL > How to get the symbol owner of an arc or line or other figures?

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

 How to get the symbol owner of an arc or line or other figures? 

Last post Mon, Nov 25 2013 2:34 PM by eDave. 3 replies.
Started by JGONG 21 Nov 2013 11:18 AM. Topic has 3 replies and 5143 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Nov 21 2013 11:18 AM

    • JGONG
    • Not Ranked
    • Joined on Mon, Nov 18 2013
    • Posts 13
    • Points 270
    How to get the symbol owner of an arc or line or other figures? Reply

    When I select a figure in PCB editor using SKILL, I often want to know whether the selected arc/line, etc, belongs to a symbol. Is there an reliable way to get its symbol owner's dbid?

    Thanks,

     Jun Gong

    • Post Points: 20
  • Fri, Nov 22 2013 12:27 AM

    • Pawandeep
    • Top 75 Contributor
    • Joined on Sat, Oct 15 2011
    • Singapore, 00-SG
    • Posts 106
    • Points 1,690
    Re: How to get the symbol owner of an arc or line or other figures? Reply

    You can use attrib objType to determine this

    • Post Points: 20
  • Fri, Nov 22 2013 8:58 PM

    • JGONG
    • Not Ranked
    • Joined on Mon, Nov 18 2013
    • Posts 13
    • Points 270
    Re: How to get the symbol owner of an arc or line or other figures? Reply

    Thanks for your answr. But the objType method is for identity of the obj's type, it doesn't provide the owner's information. I think "->parent" sometimes works, but not always give correct information. 

    Any other idea?

    • Post Points: 20
  • Mon, Nov 25 2013 2:34 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 749
    • Points 16,200
    Re: How to get the symbol owner of an arc or line or other figures? Reply
    ->parent should work for lines. However, if you choose line segments the owner may be a shape. Be careful with your filters.
    Dave Elder, Tait Communications
    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by JGONG at 21 Nov 2013 11:18 AM. Topic has 3 replies.