Home > Community > Forums > PCB Design > Skill Question: Film Records

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: *

 Skill Question: Film Records 

Last post Mon, Jun 12 2006 11:56 AM by archive. 3 replies.
Started by archive 12 Jun 2006 11:56 AM. Topic has 3 replies and 831 views
Page 1 of 1 (4 items)
Sort Posts:
  • Mon, Jun 12 2006 11:56 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    Skill Question: Film Records Reply

    Let's say I want to delete all my artwork (films) and use Skill to recreate them from scratch. I see axlDeleteObject can be used to delete the films (or so the documentation says...), but how does one go about getting the DBID of a film record?

    Creating the new artwork looks easy enough, it's deleting the existing ones that look problematic. I'm tring to avoid going the 'macro' route.


    Thanks,

    Doug


    Originally posted in cdnusers.org by dgstan
    • Post Points: 0
  • Mon, Jun 12 2006 12:01 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: Skill Question: Film Records Reply


    If deleting top film
    p = axlGetParam('artwork:TOP")
    axlDeleteObject(p)

    List of all films
    lfilms = axlGetParm("artwork")
    lfilms->groupMembers


    Originally posted in cdnusers.org by fxf
    • Post Points: 0
  • Mon, Jun 12 2006 2:10 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: Skill Question: Film Records Reply

    Posted By fxf on 6/12/2006 12:01 PM

    If deleting top film
    p = axlGetParam('artwork:TOP")
    axlDeleteObject(p)

    List of all films
    lfilms = axlGetParm("artwork")
    lfilms->groupMembers

    Boy, that's not in the documentation!

    Thanks for the help.




    Originally posted in cdnusers.org by dgstan
    • Post Points: 0
  • Fri, Jun 23 2006 11:48 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: Skill Question: Film Records Reply

    When I crafted a function to do this, one subtlty I ran into was the discovery that you can't delete ALL the film records at one time - Allegro seems to require at least one film record always be present. Solution? - create a dummy film record then delete all "real" film records.


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 12 Jun 2006 11:56 AM. Topic has 3 replies.