• 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. Custom IC SKILL
  3. Remove one of the paths from a multi-part path

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 142
  • Views 14589
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Remove one of the paths from a multi-part path

Teodor Luchian
Teodor Luchian over 6 years ago

Hi, Andrew. 

I'm using IC617 and I'm trying to create a template to draw 2 parallel 1um paths on comment layer, with a space of 0.8um and a all around halo of extra 0.8um. I managed to create the template and I can draw exactly what I need. My problem right now it's that I need to remove the halo (I only need it to keep the clearance while I draw the paths) and then somehow detach the 2 paths. I attached some images with the multipart settings and what it draws (for you to distinguish the halo, I moved it to another layer, just to have a different color in the attached picture). Can you please help me to advance with this? In the end, I only need those 2 separate paths.

first path:

second path:

halo:

result:



Thanks.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I split this from the original (8 year old) thread because it didn't really need to be part of that old thread (see the forum guidelines - the pinned post at the top of each forum - this makes it easier for somebody searching later to find something relevant).

    You could do this by selecting the resulting object and then using this SKILL code to remove the halo and convert the paths to no longer be a multi-part path (you could put this on a bindkey if it's something you're doing regularly) - just call CCFremoveHalo().

    procedure(CCFremoveHalo(@optional (objects geGetSelSet()))
      let((rodId haloShapes)
        foreach(object objects
          rodId=rodGetObj(object)
          ;------------------------------------------------------------------
          ; Identify the sub parts with 4.4 width (not using
          ; == on floating point numbers for safety)
          ;------------------------------------------------------------------
          when(rodId
            haloShapes=
              setof(subShape rodId~>subShapes abs(subShape~>width-4.4)<0.0001)
          )
          ;------------------------------------------------------------------
          ; Remove the rod-ness and delete the halo shapes
          ;------------------------------------------------------------------
          rodUnNameShape(rodId)
          foreach(halo haloShapes
            dbDeleteObject(halo)
          )
        )
        t
      )
    )
    
    

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I split this from the original (8 year old) thread because it didn't really need to be part of that old thread (see the forum guidelines - the pinned post at the top of each forum - this makes it easier for somebody searching later to find something relevant).

    You could do this by selecting the resulting object and then using this SKILL code to remove the halo and convert the paths to no longer be a multi-part path (you could put this on a bindkey if it's something you're doing regularly) - just call CCFremoveHalo().

    procedure(CCFremoveHalo(@optional (objects geGetSelSet()))
      let((rodId haloShapes)
        foreach(object objects
          rodId=rodGetObj(object)
          ;------------------------------------------------------------------
          ; Identify the sub parts with 4.4 width (not using
          ; == on floating point numbers for safety)
          ;------------------------------------------------------------------
          when(rodId
            haloShapes=
              setof(subShape rodId~>subShapes abs(subShape~>width-4.4)<0.0001)
          )
          ;------------------------------------------------------------------
          ; Remove the rod-ness and delete the halo shapes
          ;------------------------------------------------------------------
          rodUnNameShape(rodId)
          foreach(halo haloShapes
            dbDeleteObject(halo)
          )
        )
        t
      )
    )
    
    

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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