Home > Community > Forums > PCB SKILL > write all modified schematics

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

 write all modified schematics 

Last post Thu, Jan 31 2008 11:18 AM by archive. 2 replies.
Started by archive 31 Jan 2008 11:18 AM. Topic has 2 replies and 1662 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Jan 31 2008 11:18 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    write all modified schematics Reply

    I wrote a routine that makes changes on schematic.
    From Allegro, it creates a .scr file and runs it.
    I need this script that makes changes to write all modified schematics, so I use _mod_write (undocumented on the Concept inline help).
    But is there a way to write pages without re-generate the VHDL?
    I replace a write for each page (it was too long to proceed 75 pages) for a _mod_write but it is the same. Each page process al 75 pages and re-generate the VHDL.

    My script just adds user_defined properties on parts, so no need to re-write VHDL.

    Thanks in advance.


    Originally posted in cdnusers.org by willbi
    • Post Points: 0
  • Thu, Jan 31 2008 11:29 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: write all modified schematics Reply

    You can set the CONCEPTHDL directive OUTPUT_VHDL to OFF before you execute the routine.


    Originally posted in cdnusers.org by AshCan
    • Post Points: 0
  • Fri, Feb 1 2008 1:18 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: write all modified schematics Reply

    Thanks. it works!

    if(cpm then
    system(strcat("cpmaccess -write " cpm " CONCEPTHDL OUTPUT_VHDL OFF"))
    cmdString=strcat("nconcepthdl -proj " cpm " -scr " jobPath "/temp/notmounted.scr")
    system(cmdString)
    system(strcat("cpmaccess -delete " cpm " CONCEPTHDL OUTPUT_VHDL"))
    )

    Is there a way to start the script in the opened session of the schematic ?
    in the cmp file, there is a Global directive which is session_name.

    Can I use this to find if there is an opened session of the schematic or even if there is any not written changes?


    Originally posted in cdnusers.org by willbi
    • Post Points: 0
Page 1 of 1 (3 items)
Sort Posts:
Started by archive at 31 Jan 2008 11:18 AM. Topic has 2 replies.