• 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. Require skill script/function for silk screen coordiant...

Stats

  • Replies 6
  • Subscribers 160
  • Views 3441
  • Members are here 0
More Content

Require skill script/function for silk screen coordiantes

KetCadence
KetCadence over 13 years ago

 Hello,

 

I am trying to find skill function or develop a skill script that would provide me co-ordinates

of silk screen of a component. I was not able to find such function.

Could anyone please help me with this?

 

Thanks.

  • Cancel
  • Sign in to reply
Parents
  • KetCadence
    KetCadence over 13 years ago

    Hello Dave,

    As you suggested, there are no shape properties involved with "BOARD GEOMETRY/ SILKSCREN_TOP".

    I guess there should be some lines, clines associated with it.

    So, I was trying to get hold of those line objects in order to get required extents of silkscreen.

    I came acorss an utility developed by you called autoSilkUtils_public.il

    One of the change log in header information suggests:

    "8.20    26-Aug-09 DE    Also select associated objects that do not have a parent - such as board geometry text."

    So I was searching for the function related to above mentioned functionality.

    I found function called "findTypeObjects (types @key visibleOnly, layers, attrPairs, props, bbox, point, xy)".

    If I am correct, it is related to functionality related to above change log.

    I tried to use it as follows:

    objs = findTypeObjects("LINES", ?layers "BOARD GEOMETRY/SILKSCREEN_TOP")

    It gave me one dbid, but I am not able to identify what it is exaclty.

    I tried to print "objs->??", and it is nil.

     

    Could you please let me know, if this functionality could be used to get hold of line objects

    present in BOARD GEOMETRY/SILKSCREEN_TOP ?

    I am trying to debug this thing, but since I am new to this kind of scripting it is difficult to understand.

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • KetCadence
    KetCadence over 13 years ago

    Hello Dave,

    As you suggested, there are no shape properties involved with "BOARD GEOMETRY/ SILKSCREN_TOP".

    I guess there should be some lines, clines associated with it.

    So, I was trying to get hold of those line objects in order to get required extents of silkscreen.

    I came acorss an utility developed by you called autoSilkUtils_public.il

    One of the change log in header information suggests:

    "8.20    26-Aug-09 DE    Also select associated objects that do not have a parent - such as board geometry text."

    So I was searching for the function related to above mentioned functionality.

    I found function called "findTypeObjects (types @key visibleOnly, layers, attrPairs, props, bbox, point, xy)".

    If I am correct, it is related to functionality related to above change log.

    I tried to use it as follows:

    objs = findTypeObjects("LINES", ?layers "BOARD GEOMETRY/SILKSCREEN_TOP")

    It gave me one dbid, but I am not able to identify what it is exaclty.

    I tried to print "objs->??", and it is nil.

     

    Could you please let me know, if this functionality could be used to get hold of line objects

    present in BOARD GEOMETRY/SILKSCREEN_TOP ?

    I am trying to debug this thing, but since I am new to this kind of scripting it is difficult to understand.

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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