NEW ROOTS DEVELOPMENT
HomeTool GuideVDC QCDrawing QC

Style QC

Audits the provenance of every Civil 3D style in the drawing: reads each style's Last Modified By from its Information tab and flags any style not last-modified by an authorized modifier (a configurable list, default = current Windows login). Read-only.

Command VDCSTYLEAUDIT · VDC QC tab › Drawing QC panel
Audits the provenance of every Civil 3D style in the drawing: reads each style's Last Modified By from its Information tab and flags any style not last-modified by an authorized modifier (a configurable list, default = current Windows login). Read-only.
Walk every style collection × read Last Modified By × flag names not on the authorized list. CivilDocument.Styles PointStyles SurfaceStyles StructureStyles LabelStyles (nested root) BandStyles TableStyles LabelSetStyles recurse *Root groups read CreateBy / ModifiedBy / dates read-only walk Distinct Last Modified By Christian  (authorized) Design Point Style, Mod 2026-06-15, not flagged uxcafa / Autodesk, Inc. Untouched factory baseline, authoring account, not a person >> jsmith  (4 styles) Profile Label Style, Mod 2026-07-02, ModifiedByOther = YES >> bcontractor  (1 style) Pipe Band Style, Mod 2026-05-20, ModifiedByOther = YES <drawing>_StyleAudit.csv Style, Collection, CreateBy, ModifiedBy, DateModified, ModifiedByOther One row per style, filter ModifiedByOther = YES for exceptions Command line lists distinct modifiers; first 100 flagged on screen
Style collections walked   Authorized modifier   Flagged (>> ModifiedByOther)   Factory baseline account   CSV report

What it does, per run

  • Walk: recurses every collection under CivilDocument.Styles, flat ones (Point / Surface / Structure) and the nested roots LabelStyles, BandStyles, TableStyles, LabelSetStyles where hand-edits accumulate.
  • Read: each style's CreateBy / ModifiedBy / DateCreated / DateModified off the managed StyleBase API (fields populated from LOGINNAME at edit time).
  • Flag: any style whose Last Modified By is not an authorized modifier.
  • Read-only: never edits a style, provenance check, not conformance (see VDCSTDQC for font/color conformance).
  • Interpret: factory accounts (uxcafa, cacofa, Autodesk, Inc.) are the stock baseline; a real colleague's name is the integrity signal.

Outputs & settings

  • Command line: every distinct Last Modified By with a count (authorized unmarked, others marked >>), then flagged styles (first 100 on screen).
  • CSV: <drawing>_StyleAudit.csv in the drawing's VDC Reports folder (Desktop if unsaved), one row per style with a ModifiedByOther = YES filter column.
  • Authorized modifiers: comma-separated list prompted each run and persisted; default = current Windows login; case-insensitive match.
  • Settings: %APPDATA%\VDC\StyleAudit\settings.json (override VDC_STYLEAUDIT_SETTINGS); schema-tolerant, honors legacy SelfNames key.
  • Pitfall: set the authorized list first, or every style not touched by the current login is flagged.

Dialog

Style QC dialog
Style QC, VDCSTYLEAUDIT

When to use it

  • Checking that template styles have not been altered by the wrong person.

How to run it

  1. Run VDCSTYLEAUDIT.
  2. Review flagged styles and the CSV report.
  3. Add legitimate modifiers to the authorized list if needed.

Watch out for

  • Set the authorized-modifier list, or every style not touched by the current login is flagged.

Related: QC Status · Who Did It