Home > Community > Forums > PCB SKILL > Add text file to allegro database

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

 Add text file to allegro database 

Last post Mon, May 29 2006 8:16 PM by archive. 8 replies.
Started by archive 29 May 2006 08:16 PM. Topic has 8 replies and 2848 views
Page 1 of 1 (9 items)
Sort Posts:
  • Mon, May 29 2006 8:16 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Add text file to allegro database Reply

    Hi,

    I searched through but could not find.  Wonder if anyone comes across the skills command to add a text file to allegro database.

    Appreciate your help.


    Regards,
    Stella


    Originally posted in cdnusers.org by ystella
    • Post Points: 0
  • Tue, May 30 2006 1:55 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Hi Stella,

    Try axlCreateAttachment

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 0
  • Tue, May 30 2006 11:11 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Hi Dave,

    Thanks for the reply. I may not have fully understood the usage of axlCreateAttachment. I would like to read in a text file to my allegro database by having the user interactive selecting a location. Can this be done so using axlCreateAttachment?


    Regards,
    Stella


    Originally posted in cdnusers.org by ystella
    • Post Points: 0
  • Wed, May 31 2006 7:18 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Stella,

    You can download a shareware program from the CDN website, originally uploaded on Sept 13 2005,
    called AAdd_AttachFile. It will allow you to attach and detach files from Allegro BRD files, and it works
    with ASCII files as large as 78 mega bytes.

    The latest version (1.0G) can also be found on the following link:

    http://www.coppercad.com/AAdd_AttachFile.html


    Description--------------------------------------------------------------

    Allegro allows small ASCII files to be attached directly to the
    BRD file. CopperCAD's AAdd_AttachFile program, takes large ASCII
    files and breaks them up into small chunks, then attaches the
    small chunks to the Allegro BRD file, one at a time.

    AAdd_AttachFile may be used to attach ASCII text files to Allegro
    BRD files. Important files can be attached to your design, reducing
    the possibility that they may be lost or misplaced.

    Maximum individual file size that can be attached is 78 Mega bytes.
    Maximum number of characters in the file name is 26. Files must
    be pure ASCII, binary files, or mixed ASCII-Binary files cannot be
    attached to the BRD file.
    ---------------------------------------------------------------------------------


    Originally posted in cdnusers.org by mike@coppercad.com
    • Post Points: 0
  • Wed, May 31 2006 9:28 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Hi Mike,

    Thanks for the suggestion. I tried out the skills program. It is a great program. I am sorry that I have specified my requirement clearly. What I am looking is much simplier, I want to add a text file into the physical board, so that the user can see it as text on one of the subclasses. Thanks anyway.
    Just one minor problem I found while running the skills, I followed the steps to install the program but when I type ctrl+A in the command window, it gives an error "command not found". Evoking the program through skills is fine.


    Regards,
    Stella


    Originally posted in cdnusers.org by ystella
    • Post Points: 0
  • Thu, Jun 1 2006 7:15 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Stella,
              I found the answer on sourcelink....

    ----------------------------------------------------------------

    1.  Add>Text
    2. On the Options tab, select the desired Class and set the subclass, size, etc..
    3. Pick the text location (Orientation of txt file is A1 block of the xls sheet).
    4. Right Mouse Click in the work area.
    5. Select Read From File.
    6. Browse to the file created from the xls File Save As and select it.

    The text will be present in the board file. If other graphics are needed, you will have
    to add them manually.
    ----------------------------------------------------------------------------------------------------

    Regards,
    Mike Finczak
    CopperCAD Design
    www.CopperCAD.com
    905-488-8958


    Originally posted in cdnusers.org by mike@coppercad.com
    • Post Points: 0
  • Thu, Jun 1 2006 8:14 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Hi Mike,

    Thanks for the reply. I know of this allegro command, just that I am checking if this is also available in skills command. Looks like there isn't...


    Regards,
    Stella


    Originally posted in cdnusers.org by ystella
    • Post Points: 0
  • Fri, Jun 2 2006 4:44 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Stella,

    It shouldn't require too much to create a function like this. You would open the file and read it line by line. When you read a line, you then add the text to the database with axlDBCreateText

    Ron.


    Originally posted in cdnusers.org by rong
    • Post Points: 0
  • Tue, Jun 6 2006 7:23 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Add text file to allegro database Reply

    Hi Ron,

    Nice to hear from you.  Thanks for the suggestion.  I know of this alternate method, just that because I thought if there is any straight forward way to call in a text file that I am not aware of.


    Regards,
    Stella


    Originally posted in cdnusers.org by ystella
    • Post Points: 0
Page 1 of 1 (9 items)
Sort Posts:
Started by archive at 29 May 2006 08:16 PM. Topic has 8 replies.