• 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. Is it possible to have a "Copy and Paste" function like...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 7699
  • 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

Is it possible to have a "Copy and Paste" function like the "Yank and Paste" ?

zeroskills
zeroskills over 15 years ago

Is it possible to have a "Copy and Paste" function like the "Yank and Paste"?

The Yank  function some what is a Copy function except it literaly "cut" what ever is drawn over by a selection box, if you select half of a device using Yank, you'll only get half of it.

Is it possible to have something like this:

- select devices, wires etc. either by selection box (dragging a mouse from 1 point to another) or by selecting individual or by group,

- then which ever you selected, you can "copy it" like a Yank, then you can paste it.

Some uses for it for exmaple:

I've done this with Yank and Paste but i don't know what origin it's using. instead of opening the contact window to instanciate a via, you can just copy a via then when you want a via, just paste it. yes, you can do it manually, select a via then copy, then copy etc. but would it be nice to just copy once then paste it endlessly? 

 

 

  • Cancel
Parents
  • zeroskills
    zeroskills over 15 years ago

    Hi Andrew,

    This is what i did: 

    load("/user/me/abCopyPaste.ils")
    hiSetBindKey("Layout" "Ctrl<Key>6" "abCopyPaste->copy()")
    hiSetBindKey("Layout" "Alt<Key>6" "abCopyPaste->paste()")

    but i get this error for copy:

    *Error* dbCopyFig: Invalid point - nil 

    <<< Stack Trace >>>

    dbCopyFig(fig buffer transform)

    foreach(fig geGetSelectedSet(cv) dbCopyFig(fig buffer transform))

    let((fig) foreach(fig geGetSelectedSet(cv) dbCopyFig(fig buffer transform)))

    let((buffer refPoint transform) (buffer = dbOpenCellViewByType((& || &) options[&] options[&] "maskLayout" "w")) unless(buffer error("Could not create copy buffer %s/%s/%s" (& || &) options[&] options[&])) (refPoint = if(options[&] enterPoint(?prompts &) leGetRefPoint(cv))) (transform = list(mapcar(minus refPoint) "R0" 1.0)) ... )

    funcall((abCopyPaste->copy))

    ERROR 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • zeroskills
    zeroskills over 15 years ago

    Hi Andrew,

    This is what i did: 

    load("/user/me/abCopyPaste.ils")
    hiSetBindKey("Layout" "Ctrl<Key>6" "abCopyPaste->copy()")
    hiSetBindKey("Layout" "Alt<Key>6" "abCopyPaste->paste()")

    but i get this error for copy:

    *Error* dbCopyFig: Invalid point - nil 

    <<< Stack Trace >>>

    dbCopyFig(fig buffer transform)

    foreach(fig geGetSelectedSet(cv) dbCopyFig(fig buffer transform))

    let((fig) foreach(fig geGetSelectedSet(cv) dbCopyFig(fig buffer transform)))

    let((buffer refPoint transform) (buffer = dbOpenCellViewByType((& || &) options[&] options[&] "maskLayout" "w")) unless(buffer error("Could not create copy buffer %s/%s/%s" (& || &) options[&] options[&])) (refPoint = if(options[&] enterPoint(?prompts &) leGetRefPoint(cv))) (transform = list(mapcar(minus refPoint) "R0" 1.0)) ... )

    funcall((abCopyPaste->copy))

    ERROR 

     

     

    • 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