• 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. How to modify/delete a subPath from a MPP using SKILL?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 1880
  • 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

How to modify/delete a subPath from a MPP using SKILL?

sparksu
sparksu over 15 years ago

I have a MPP created by rod1=rodCreatePath( ... ).

rod1 contains several subPaths (path1, path2, rect1, rect2 ... ).

How can I do the follwing operations using SKILL?

1. Delete path1

2. Un-attach path1 from rod1

3. Change path1 to another layer

Thanks very much.

  • Cancel
  • lrl12skdev
    lrl12skdev over 15 years ago

    Hi sparksu,

     The quickest flow I cant think of is first take the pointlist of the original MPP

    1 delete the original then redraw it without the path1

    2&3 using the same point list, redraw the path with leCreatePath with your new desired layer. (you may need to adjust the points, especially the end points)

    its a quick solution so Im not sure if this is the best for you.

     BR  -lrlsk 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sparksu
    sparksu over 15 years ago

    Hi lrlsk ,

    Thanks for your solution.

    But I think it is a little wired.

    You have to destroy your house and reconstruct it just because you don't like the color of your door.

     

    Sparksu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lrl12skdev
    lrl12skdev over 15 years ago

    Hi sparksu,

     wierd as it may seem but actually it's one of the basic tricks in programming. lets just say stretch command doesn't exist yet, how would you do it? isn't it just easy to reapply the basic wire command with a new set of points and delete the old one?

     How do you think a flash memory is being written? if I tell you a whole block of data needs to be erased and rewritten only because they need to change 1 bit of information, would you believe that?

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 15 years ago

    Sparksu,
    From your rod object, rod1, make sure you get your all of your shape ids that you need. Then you can use rodUnNameShape(rod1) to flatten the rod object. You can then manipulate the shapes however you want.

    The main path object is: rod1~>dbId

    The subShapes are: rod1~>subShapes

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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