Free Trials

Download a free trial to find out which Altium software best suits your needs

How to Buy

Contact your local sales office to get started on improving your design environment


Download the latest in PCB design and EDA software

  • Altium Designer

    Complete Environment for Schematic + Layout

  • CircuitStudio

    Entry Level, Professional PCB Design Tool

  • CircuitMaker

    Community Based PCB Design Tool


    Agile PCB Design For Teams

  • Altium 365

    Connecting PCB Design to the Manufacturing Floor

  • Altium Concord Pro

    Complete Solution for Library Management

  • Octopart

    Extensive, Easy-to-Use Component Database

  • PDN Analyzer

    Natural and Effortless Power Distribution Network Analysis

  • See All Extensions

    World-Renowned Technology for Embedded Systems Development

  • Live Courses

    Learn best practices with instructional training available worldwide

  • On-Demand Courses

    Gain comprehensive knowledge without leaving your home or office

  • Altium 365 Viewer

    View & Share electronic designs in your browser

  • Altium Designer 20

    The most powerful, modern and easy-to-use PCB design tool for professional use


    Annual PCB Design Summit

    • Forum

      Where Altium users and enthusiasts can interact with each other

    • Blog

      Our blog about things that interest us and hopefully you too

    • Ideas

      Submit ideas and vote for new features you want in Altium tools

    • Bug Crunch

      Help make the software better by submitting bugs and voting on what's important

    • Wall

      A stream of events on AltiumLive you follow by participating in or subscribing to

    • Beta Program

      Information about participating in our Beta program and getting early access to Altium tools

    All Resources

    Explore the latest content from blog posts to social media and technical white papers gathered together for your convenience


    Take a look at what download options are available to best suit your needs

    How to Buy

    Contact your local sales office to get started improving your design environment

    • Documentation

      The documentation area is where you can find extensive, versioned information about our software online, for free.

    • Training & Events

      View the schedule and register for training events all around the world and online

    • Design Content

      Browse our vast library of free design content including components, templates and reference designs

    • Webinars

      Attend a live webinar online or get instant access to our on demand series of webinars

    • Support

      Get your questions answered with our variety of direct support and self-service options

    • Technical Papers

      Stay up to date with the latest technology and industry trends with our complete collection of technical white papers.

    • Video Library

      Quick and to-the-point video tutorials to get you started with Altium Designer

    Customize designs with Consistent and Flexible Custom Rules and Queries

    Altium Designer
    |  June 1, 2018

    Customize designs with global PCB rules and queries

    In the early stages of a circuit design, I frequently consider mechanical dimensions along with circuit requirements. Knowing dimensions of large components helps me visualize where they will fit with respect to overall three-dimensional device enclosure and the board’s location within the space. During the thought experiment for fit, I begin making notes about tolerances I’ll push as a tradeoff between electrical functionality and mechanical dimension.

    These close tolerances will need to be managed closely throughout the design cycle. Schematic capture and PCB layout tools are blank slates and their environments have selectable options for setting up to design. For each project, the blank slate is made into a structural frame where some ideas take flight and others fail to get off the ground.

    Having applicable tools to enable creative solutions in numerous ways helps designers innovate. When tools fail to provide solutions, ideas are lost and companies suffer.

    Unacknowledged Custom Rules Cause Multiple Design Rule Check Errors

    I’m grateful when I get into my schematic capture and PCB layout tools and the commands I intuit are found in the pulldowns. After defining the environment in exquisite detail, imagine my disappointment when those custom rules fail to follow the circuits designed into the layout. Although I set up the environment in my schematic editor, it failed to export the rules to layout and all was lost. More, I didn’t find this out until after I placed and routed the board.

    It was found during a design rule check (DRC). The DRC produced a profusion of errors. The sheer amount of errors caused concern and it took me a moment to realize the DRC didn’t recognize the custom rules I set up for close tolerances. Settling in to perform a query took me off the task at hand. Trying to query for the custom rules required sinking time to learn the cryptic programming algorithm for actually writing a query.

    It became apparent that understanding how to query in this layout software would take time and experience within the tool environment. And time to learn a command function wasn’t helping the project move along.

    Construction worker figurines on a printed circuit assembly

    Finding and fixing PCB errors with custom rules

    Design Rule Check Errors Result From Programs That Do Not Communication

    Spending time on a steep learning curve for side work within a layout program is not ideal. Finding out that the tool I was using did not port commands left me concerned for two reasons. One was that I didn’t find out until after I’d laid out the board. I’d spent time during schematic capture to set up the exquisite environment necessary to push the tolerances.

    Once I got to PCB layout, the custom commands I originally set up were gone. The other was the worry that I’d miss a real error hiding amongst all the pseudo-errors generated. I’d have to sift through all the conflict flags, which were many, and this may cause me to miss a true custom rule violation. Missing a real error could result in manufactured boards that may not work once they arrived at our factory.

    I was losing confidence in the tool, given the lack of unified features. How could I reliably trust the developers to deliver a tool that was built to complement the original design captured in the schematic? I tried to run a query, hoping to select the known nodes from my custom rule. This was problematic as the query required learning the programming syntax for searching rather than using simple keywords within the search bar. It was going to be a long week.

     Picture of a printed circuit assembly with closely-packed components

    Setting custom tolerance rules help organize close components

    Apply Queries With Unified Tools Across the Design Environment

    I was beginning to wish I had an environment where custom rules set up in the schematic would port, seamlessly, to the layout software when the time came for handoff. I imagined a well-organized process for defining the board constraints and rules would allow a well-defined environment.

    If the constraints and rules could be organized outline style with levels to address each situation within the design would be ideal. Having intuitive commands in the pulldowns with the ability to follow the design through the entire process from schematic capture to PCB layout and then output file generation would be great.

    It would be great if those commands extended to queries easily set up and tailored for the feature I was searching. Easy setup of searches depends on searchable keywords with filters to refine the search query. Know I could search in non-programmable language with direct translation for the query command goes a long way towards building intuition with the tool.

    The query would search not only common rules but would search custom rules. Eliminating error messages for custom rules means I can see true errors when running a check. Dealing with real errors after the DRC would make me confident when I released the drawings to manufacture the board.

    Altium Designer 18 has a PCB Editor and uses the concept of design rules. The editor has an intuitive hierarchy representing blocks of the layout, so nothing is missed. Specific areas included target electrical, routing, SMT, mask, plane, testpoint, manufacturing, high speed, and signal integrity. Should you have a need to add a custom rule in any of those categories, it is easily included within the editor environment.

    In addition, Altium Designer 18 has both a Query Helper and a Query Builder. Both query tools are keyword driven, intuitive with a shallow learning curve. Applying the tools becomes as easy as pulling down a menu to activate a command.

    If you’d like to know more about either the design rules or the query capability, talk to an expert at Altium today.

    Start the journey to switch over to Altium Designer today.

    About Author

    About Author

    PCB Design Tools for Electronics Design and DFM. Information for EDA Leaders.

    most recent articles

    Back to Home