0
\$\begingroup\$

I am looking for a way to automatically update the PCB dimensions in my PCB documentation. I have the X & Y dimensions listed in the title block as PCB strings. They are currently set as project parameters so the documentation updates as I update the parameters, but I still have to manually update the parameters if I change the board size.

Text from PCB String Window:

  1. Board Size: '.PCB_X' x '.PCB_Y'
  2. Board Thickness: '.PCB_Z'
  3. Component count: .Component_Count
  4. Pad Count: .Pad_Count
  5. Hole Count: .Hole_Count
  6. Soldermask Color: '.PCB_SolderMask_Color'
  7. Silkscreen Color: '.PCB_ SilkScreen_Color'

The pad, hole, and component count are system variables. Is there a system variable that I can set the PCB string to automatically update the X & Y dimensions? The information is in Altium since it is in the PCB Information window:

PCB Information window

Which is opened thru the menu Reports->Board Information.

Your help is appreciated.

\$\endgroup\$
3
  • 2
    \$\begingroup\$ What do you want to happen if the board shape is not rectangular? \$\endgroup\$
    – The Photon
    Commented Aug 9, 2016 at 14:57
  • \$\begingroup\$ It would do the same thing as the PCB information window which I assume its to report the minimum rectangle the board fits in. The information would help a PCB vendor quote the board faster. \$\endgroup\$
    – Ken Weiner
    Commented Aug 10, 2016 at 22:55
  • 1
    \$\begingroup\$ Could be worth throwing a post on their forums / beta forums -- some times you'll get lucky and a product manager may pay attention. \$\endgroup\$ Commented Nov 7, 2016 at 18:13

2 Answers 2

2
\$\begingroup\$

I do not think so, because the documentation does not list any special string with that content.

.Application_BuildNumber - the version of Altium Designer that the PCB is currently loaded in. When generating Gerber output, this string will record the software build that the design was created on
.Arc_Count - the number of arcs on the PCB
.Comment - the comment string for a component (used in designing component footprints)
.Component_Count - the number of components on the PCB
.ComputerName - The name of the machine that the PCB is currently loaded in
.Designator - the designator string for a component (used in designing component footprints)
.Fill_Count - the number of fills on the PCB
.Hole_Count - the number of drill holes on the PCB
.Layer_Name - the name of the layer the string is placed on
.Legend - a symbol legend for mechanical drill plots. This string is only valid when placed on the Drill Drawing layer
.Net_Count - the total number of different nets on the PCB
.Net_Names_On_Layer - the names of all nets on the specific layer. This string is only valid when placed on an internal plane layer
.Pad_Count - the number of pads on the PCB
.Pattern - the names of the component footprints used on the PCB
.Pcb_File_Name - the path and file name of the PCB document
.Pcb_File_Name_No_Path - the file name of the PCB document
.Plot_File_Name - When generating Gerber output, this string identifies the file name of the Gerber plot file. When generating printed output, this string identifies the layer depicted within the output. When generating ODB++ output, this string identifies the name of the parent folder in which the files are stored
.Poly_Count - the number of polygons on the PCB (consisting of polygon pours, internal planes and split planes)
.Print_Date - the date of printing/plotting
.Print_Scale - the printing/plot scale factor
.Print_Time - the time of printing/plotting
.Printout_Name - the name of the printout
.SlotHole_Count - the number of slotted holes on the PCB
.SquareHole_Count - the number of square holes on the PCB
.String_Count - the number of strings on the PCB
.Track_Count - the number of tracks on the PCB
.VersionControl_RevNumber - the current revision number of the document. Version control must be used for this string to contain any information
.Via_Count - the number of vias on the PCB.

Or am I missing your point?

\$\endgroup\$
1
  • \$\begingroup\$ You undestood the issue very well. There is no documented variable, but somehow the PCB Information window has that data. \$\endgroup\$
    – Ken Weiner
    Commented Aug 10, 2016 at 22:57
0
\$\begingroup\$

you can use the following commands

=BoardWidth x =BoardHeight

enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.