1 Reply Latest reply on May 21, 2010 2:19 PM by john_dube

    Script to add nets to a design from a csv file...

    james.martin

      I'm looking for a script that will allow me to create a bunch of new nets with labels that are from a csv file.  Does anyone know how this might be done?

        • 1. Re: Script to add nets to a design from a csv file...
          john_dube

          I can think of a couple of ways:

          • With a script, use the Scripting.FileSystemObject to read the csv file, and call ActiveView.Block.AddNet for each line.  You'll need to keep track of the net locations, and add a label object to the net segment.
          • Create a symbol in the Symbol Editor and load the pins from the csv file.  Place the symbol onto a new schematic, push into the symbol, and add missing ports.  This will create a labeled net stub with onsheet connector for every pin on the symbol.

           

          John