This script generates layer stackup graphics in 2D library, which shall be imported in drill drawing through Drafting Toolbar > From library command
Thanks for Mentor team in writing the script.
Tried the script and it works fine but it lacks the feature of single sided board.
The reason I mention this is that I’ve don a script were this feature is missing as well.
Can i use the same script for expedition 7.9.4 version?
it is very useful..!Thanks Luckii..
Exactly what I needed. Thanks!
Is it possible to change to mm instead of mils?
Is this broken in PADS Layout VX2.1? Maybe I am doing something stupid, but I can't import my *.l file created with this script form the Drafting Toolbar "From Library" button. The *.l file does not seem to be recognized as a library.
I have managed to get it to work on VX.2.1 by adding it to the drawings partition then adding it as a drawing.
What I would like to know is how to get the script to output the dimensions in mm rather than imperial.
I think you have to change ActiveDocument.unit.
I have this in one script to check active unit:
if ActiveDocument.unit = 3 Then
X_unit = "X [inch]"
Y_unit = "Y [inch]"
ElseIf ActiveDocument.unit = 4 Then
X_unit = "X [mm]"
Y_unit = "Y [mm]"
ElseIf ActiveDocument.unit = 2 Then
X_unit = "X [mils]"
Y_unit = "Y [mils]"
How do you "add it to the drawings partition then adding it as a drawing"
Retrieving data ...