Home > Community > Forums > Custom IC SKILL > How handle deleting files in Cadence Library Manager?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How handle deleting files in Cadence Library Manager? 

Last post Mon, Jan 28 2013 11:57 AM by baumanets. 2 replies.
Started by baumanets 25 Jan 2013 02:09 AM. Topic has 2 replies and 605 views
Page 1 of 1 (3 items)
Sort Posts:
  • Fri, Jan 25 2013 2:09 AM

    • baumanets
    • Not Ranked
    • Joined on Sun, Aug 26 2012
    • Posts 10
    • Points 185
    How handle deleting files in Cadence Library Manager? Reply

    This code handle copying and renamimg files, but not handle deleteing files. p, li { white-space: pre-wrap; }

    procedure(copyTriggerPrint(myFunction copyPhaseStr checkOffList supplementList otherFromSpecs otherToSpecs updateList retHint ctxList reserved "stgggggggx")

    let((retOK)

    retOK = t

    printf("Copy phase is '%s'\n" copyPhaseStr)

    printf("Calling options were %L\n", ctxList)

    printf("Pre copy set is %L\n", checkOffList)

    printf("Post copy is from %L\n", otherFromSpecs)

    printf(" to %L\n", otherToSpecs)

    ;;---------------------------------------------------------------------

    ;; Exclude all .svn dirs and files from copy

    ;;---------------------------------------------------------------------

    foreach( copyObj checkOffList

    when( fromSpec = cadr(copyObj)

    fromSpec = gdmInspectSpec(fromSpec)

    objStr = buildString(setof(x fromSpec stringp(x)) "/")

    printf("Checking %L\n" objStr);

    printf("oBJECT %L\n" fromSpec)

    ); when fromSpec

    ); foreach copyObj

    t

    retOK

    )

    )

      p, li { white-space: pre-wrap; }

    ccpRegTrigger("ccpPostExpandTrigger" 'copyTriggerPrint nil)

    ccpRegTrigger("ccpPreTransferTrigger" 'copyTriggerPrint nil)

    ccpRegTrigger("ccpPostTransferTrigger" 'copyTriggerPrint nil)

    ccpRegTrigger("ccpPreUpdateTrigger" 'copyTriggerPrint nil)

    ccpRegTrigger("ccpPostCopyTrigger" 'copyTriggerPrint nil)

     

     How handle deleting files?

    • Post Points: 20
  • Sat, Jan 26 2013 11:24 AM

    Re: How handle deleting files in Cadence Library Manager? Reply

    How about using ddRegTrigger with "PreDeleteObj" and/or "PostDeleteObj"?

    Andrew.

    • Post Points: 20
  • Mon, Jan 28 2013 11:57 AM

    • baumanets
    • Not Ranked
    • Joined on Sun, Aug 26 2012
    • Posts 10
    • Points 185
    Re: How handle deleting files in Cadence Library Manager? Reply
    Thank you.
    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by baumanets at 25 Jan 2013 02:09 AM. Topic has 2 replies.