• 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. Marknet options

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 11675
  • 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

Marknet options

DVancil
DVancil over 4 years ago

I need to use marknet with different options in the same session.  Is it possible to call marknet from within SKILL and have it load one of several options files (from a pulldown, for example)?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Two choices - you can either write a function that uses enterPoint() to prompt the user for a point, and in the doneProc calls leMarkNet with the ?optionFile argument (slightly awkward because this would work best using a closure for the callback but this is not supported for enter functions currently) or you could use an approach that I'm not entirely keen on in general (interacting with a form via hiEnqueueCmd), but does work OK. This has the benefit of having the same UI interaction as the normal mark net:

    procedure(CCFleHiMarkNet(optionsFile @optional (win hiGetCurrentWindow()))
      let((form (cv geGetEditCellView(win)) page1)
        form=leGetTechFormList(techGetTechFile(cv))->markNetForm
        ;--------------------------------------------------------------------
        ; Relies on the field names not changing.
        ; Populate fileName field, and load the file - enqueued to run
        ; after leHiMarkNet has started
        ;--------------------------------------------------------------------
        page1=form->optionTabs->page1
        page1->fileName->value=optionsFile
        hiEnqueueCmd(page1->loadFrom->_callback)
        leHiMarkNet(win)
      )
    )

    To use, just call CCFleHiMarkNet("theOptionsFile") and it will start mark net as usual but with the options file having been loaded at the beginning.

    Anderw

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • DVancil
    DVancil over 4 years ago in reply to Andrew Beckett

    Thank You!

    • 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