Create a Board using Script

Create a Board using Script

Anonymous
Not applicable
1,074 Views
5 Replies
Message 1 of 6

Create a Board using Script

Anonymous
Not applicable

I can extract the data of X, Y co ordinates of VIA, BGA and PIN from Allegro ".brd". Is any Script available to import that data into a AutoCAD?.. So i can create a brd file like the same in allegro. 

0 Likes
1,075 Views
5 Replies
Replies (5)
Message 2 of 6

john.uhden
Mentor
Mentor

I have no idea what Allegro or all those acronyms are, but It sounds like you need an AutoLisp program rather than a script.

Can you post an extraction file with a description of how to identify the coordinates and how they should be connected?

Might each line of the file look like:

 

x,y,z,desc

 

?

John F. Uhden

0 Likes
Message 3 of 6

Anonymous
Not applicable

Pls find the attachment and Reply if it is enough to understood

0 Likes
Message 4 of 6

john.uhden
Mentor
Mentor

A few questions:

 

1.  In the file "import to AutoCAD.txt" do you mean that the column entitled "DRILL_HOLE_NAME" is actually the diameter (26)?

2.  What about the other columns?  Are those values to be inserted as text next to each circle?

3.  Are the fields tab delimited, or are there just a bunch of spaces, as in sort of column delimited?

4.  What are your drawing units, mm?

John F. Uhden

0 Likes
Message 5 of 6

Anonymous
Not applicable
1. Yes, 26 is the diameter of circle
2. Apart from X and Y, first column which is "Pin_number" -i need these texts could be placed center of the corresponding circle..( I.e, at a location of X and y, circle or a circular block is drawn where the diameter is 26, specified in Drill_hole_name, and the block name is "*****" specified in first column.
3. For a clear view I put those spaces and tabs for a column views..
These datas when pasted from Excel each column contains only one Space bar.
Pin_number" "Drill_hole_x" "Drill_hole_y" "Drill_hole_name
Eliminate the forth column..Net_name
4. Yes, units are in mm
0 Likes
Message 6 of 6

Anonymous
Not applicable
Just consider 4 columns. Where net_name is omitted from notepad file..
Because net_name is other property..
0 Likes