Standards Before Automation
You do not automate efficiency. You automate whatever is already there. Standardize the workflow first, then let automation enforce it.
You do not automate efficiency. You automate whatever is already there.
By Prasath | ScriptedCAD | https://scriptedcad.com
An engineer writes a macro to fill the title block. It works on his machine. Six months later three people use it, each pointing at a different template, each with a different idea of what goes in the Drawn By field. The macro still runs. It just fills three different messes faster than before.
This is the trap almost every automation project falls into. You do not automate efficiency. You automate whatever is already there. If the workflow underneath is inconsistent, the script does not fix that. It hard codes it and hands everyone a faster way to be inconsistent.
The Framework: The Three Layers Under Every Automation
Before you automate anything, three things have to be defined, in order. Skip a layer and the automation built on top of it inherits the gap. Think of it as the ground your code stands on.
- Layer 1, Data. The properties, naming, and values the workflow reads and writes.
- Layer 2, Structure. Where files live, how they are named, how versions are tracked.
- Layer 3, Rules. The agreed standard for what correct output actually looks like.
Automation is not a fourth layer you add on top. Automation is how you enforce Layer 3 once Layers 1 and 2 are solid. That is the whole idea. The script is not a shortcut around the standard. It is the standard, made unskippable.
Layer 1: Data
This is the information your automation reads and writes. Custom properties, part numbers, material fields, revision values. If two engineers spell the material two different ways, or one leaves the field blank, your title block automation faithfully copies both versions into the drawing. Nothing errors. The output is just wrong in a way no one notices until manufacturing calls.
- Fixed list of custom properties every part and drawing must carry
- One agreed value format for each field, no free typing where a dropdown belongs
- A rule for what a blank field means, and whether the automation should refuse to run without it
Layer 2: Structure
This is where files live and how they are found. It is the layer everyone skips because it feels like housekeeping, not engineering. Then a batch export script runs against a folder where old revisions, working copies, and released files all sit together, and it quietly ships an outdated drawing to a client. The script did exactly what it was told. The folder was the problem.
- A file naming pattern that a script can read without guessing
- A clear split between working files, released files, and archived versions
- One source of truth for the current revision, not the newest date on the folder
Layer 3: Rules
This is the agreed definition of correct. What a finished drawing must contain. Which checks have to pass before release. It is the layer that usually does not exist on paper, it only lives in the head of the senior engineer everyone asks. Automate before this is written down and you are not encoding the company standard. You are encoding one person's memory of it, on the day they happened to explain it.
- A written checklist of what a released drawing must have, not a person to ask
- The checks that must pass: title block complete, revision matched, standard sheet used
- Agreement that the standard is the standard, even for the engineer who prefers their own way
Here is the part most people miss. Once Layer 3 is written, automation becomes the best enforcement tool you have. A standard that lives in a document gets ignored. A standard built into a release button that refuses to run until the checks pass gets followed by everyone, because using it is now faster than working around it.
Decision Tree: Are You Ready To Automate This?
Run any workflow you are about to automate through these three questions first. A no means you are not automating yet. You are standardizing first.
1. Can you list every data field this automation reads or writes, with allowed values?
- Yes: Data layer is ready, check structure next.
- No: Stop. Define Layer 1 first or the script will copy bad data everywhere.
2. Can a script find the right file and the current revision without a human deciding?
- Yes: Structure layer is ready, check the rules next.
- No: Stop. Fix Layer 2 or your automation will happily ship the wrong file.
3. Is the definition of a correct, releasable output written down, not just in someone's head?
- Yes: You are ready. Automate the rule and let it enforce the standard.
- No: Stop. Write Layer 3 first, then let automation become how you enforce it.
Get this free resource
Enter your email and your download starts instantly.