• 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. Can I draw a reference line in virtuoso?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 16428
  • 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

Can I draw a reference line in virtuoso?

richardyuan
richardyuan over 8 years ago

I mean a reference line that do not use drawing layer and do not stream out to GDS, just a line for reference.

The ruler is OK, but I don't like the numbers and segments, I just want a pure line.

Is there any skill function to do that?

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

    How about this?

    /* CCFenterRefLine.il
    
    Author     A.D.Beckett
    Group      Custom IC (UK), Cadence Design Systems Ltd.
    Language   SKILL
    Date       Dec 02, 2016 
    Modified   
    By         
    
    Example of a enter function to prompt you to enter two points,
    and then to create a marker as the result. Might want to use:
    
    pteSetVisible("Markers" t "Objects")
    
    to ensure they are visible.
    
    Call CCFenterRefLine() to prompt the user to create the marker line.
    
    ***************************************************
    
    SCCS Info: @(#) CCFenterRefLine.il 12/02/16.10:03:27 1.1
    
    */
    
    procedure(CCFenterRefLineCB(wid ok points)
        let((cv)
            when(ok && wid
                cv=geGetEditCellView(wid)
                dbCreateMarker(cv "Reference Line" "CCFenterRefLine" 
                    points nil t nil)
            )
        )
    )
    
    procedure(CCFenterRefLine()
        enterLine(
            ?prompts list("Enter first point" "Enter second point")
            ?wantPoints 2
            ?doneProc "CCFenterRefLineCB"
            ?cursor hicTCross ;hicCreateRulerEdge
        )
    )

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

    How about this?

    /* CCFenterRefLine.il
    
    Author     A.D.Beckett
    Group      Custom IC (UK), Cadence Design Systems Ltd.
    Language   SKILL
    Date       Dec 02, 2016 
    Modified   
    By         
    
    Example of a enter function to prompt you to enter two points,
    and then to create a marker as the result. Might want to use:
    
    pteSetVisible("Markers" t "Objects")
    
    to ensure they are visible.
    
    Call CCFenterRefLine() to prompt the user to create the marker line.
    
    ***************************************************
    
    SCCS Info: @(#) CCFenterRefLine.il 12/02/16.10:03:27 1.1
    
    */
    
    procedure(CCFenterRefLineCB(wid ok points)
        let((cv)
            when(ok && wid
                cv=geGetEditCellView(wid)
                dbCreateMarker(cv "Reference Line" "CCFenterRefLine" 
                    points nil t nil)
            )
        )
    )
    
    procedure(CCFenterRefLine()
        enterLine(
            ?prompts list("Enter first point" "Enter second point")
            ?wantPoints 2
            ?doneProc "CCFenterRefLineCB"
            ?cursor hicTCross ;hicCreateRulerEdge
        )
    )

    • 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