• 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 send points from layout window to draw a multipart...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 14620
  • 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 send points from layout window to draw a multipart path

infy
infy over 16 years ago

Hi ,

 I would like to create a MultiPart path ,by selecting points  from layout window and send it to the proceedure which creates MPP.So could you please specify ,how to take a point and send it list of such points so that I can create MultiPart Path in the path specified by those points.

Thanks & Regards,

Infy

  • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 16 years ago

     The command you want to use is enterPath. The steps you want to take are documented in the Relative Object Design Users Guide, there is a very good example on exactly what you want to do.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 16 years ago

    At the risk of criticism, I will repeat myself here and point you to a useful solution that contains an example of using enterPath() to gather points from the user and pass these on to a call to the rodCreatePath() function that creates a Multi Part Path.  Here is the solution code:

    CIC SKILL Code Library page: CCSslotMetal.il

    And here is the link to the full SourceLink solution:

    How can I created slotted metal paths?

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AmitBiswas
    AmitBiswas over 16 years ago
    Hi infy You can create your own customized Multipart Path following the above mentioned way .There is one more way by which you can do the same. If you are facing problem in only passing the point to the MPP then you can you use this command "leDefineMPPTemplate" . Here you don't have to pass the points, it will work in interactive mode just like during drawing a path user is able to see the path. Basically "leDefineMPPTemplate" and "rodCreatePath" command's syntax are similar Syntax of "leDefineMPPTemplate" tech=techGetTechFile(geGetEditCellView()) leDefineMPPTemplate( ?techId tech ?name Multipartpath_Name ; it should be a string ?layer list("prBoundary" "drawing") ; Master layer name normally set it to peBoundary ?width MPP_Width ?choppable t ?endType "flush" ?beginExt 0.000000 ?endExt 0.000000 ?justification "center" ?offset 0.000000 ?offsetSubPath offsetSubPath_list ?subRect SubRect_list ) ; end of leDefineMPPTemplate Syntax of "rodCreatePath" layername=list("prBoundary" "drawing") Points=list(list of points) rodCreatePath( ?name MPP_Name ; it should be a string ?layer layer_name ; this is the master layer name ?pts Points ?width layer_Width ; master layer width ?justification "center" ?cvId cv ?offsetSubPath offsetSubPath_list ?subRect SubRect_list ) ;end rodCreatePath only difference in "rodCreatePath" is you have to pass the Points of the MPP to the ?pts field, which is done by enterPath() function. I hope this will solve your problem. please refer "sklayoutref.pdf" to learn more about these commands Regards, Amit
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AmitBiswas
    AmitBiswas over 16 years ago
    I don't know why this format gets changed. To get the original format to understand better click on "Reply" then click on "Quote" , you will get the original format the way I have written. In the next reply I have attached the text file . Sorry for the inconvenience .......
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AmitBiswas
    AmitBiswas over 16 years ago
    AmitBiswas said:
    Hi infy You can create your own customized Multipart Path following the above mentioned way .There is one more way by which you can do the same. If you are facing problem in only passing the point to the MPP then you can you use this command "leDefineMPPTemplate" . Here you don't have to pass the points, it will work in interactive mode just like during drawing a path user is able to see the path. Basically "leDefineMPPTemplate" and "rodCreatePath" command's syntax are similar Syntax of "leDefineMPPTemplate" tech=techGetTechFile(geGetEditCellView()) leDefineMPPTemplate( ?techId tech ?name Multipartpath_Name ; it should be a string ?layer list("prBoundary" "drawing") ; Master layer name normally set it to peBoundary ?width MPP_Width ?choppable t ?endType "flush" ?beginExt 0.000000 ?endExt 0.000000 ?justification "center" ?offset 0.000000 ?offsetSubPath offsetSubPath_list ?subRect SubRect_list ) ; end of leDefineMPPTemplate Syntax of "rodCreatePath" layername=list("prBoundary" "drawing") Points=list(list of points) rodCreatePath( ?name MPP_Name ; it should be a string ?layer layer_name ; this is the master layer name ?pts Points ?width layer_Width ; master layer width ?justification "center" ?cvId cv ?offsetSubPath offsetSubPath_list ?subRect SubRect_list ) ;end rodCreatePath only difference in "rodCreatePath" is you have to pass the Points of the MPP to the ?pts field, which is done by enterPath() function. I hope this will solve your problem. please refer "sklayoutref.pdf" to learn more about these commands Regards, Amit
    • MPP_Code.txt
    • View
    • Hide
    • 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