• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
blog.draftsperson.net

blog.draftsperson.net

the art of technical drawing

blog.draftsperson.net

SIPHON LISP: Reverse MATCHPROP for AutoCAD Defaults

August 3, 2026

MATCHPROP pushes the properties of a source object onto other objects. SIPHON does the opposite: it reads colour, layer, linetype, lineweight and linetype scale off one picked object and makes them the current defaults, so everything you draw next inherits them.

What PropSiphon does

It sets CECOLOR, CLAYER, CELTYPE, CELWEIGHT and CELTSCALE from the object you pick.

The use is obvious once you have it: you are about to draw something that should match a thing already on the drawing, and rather than reading its properties and setting five controls, you point at it.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type SIPHON.
  3. Pick an object whose properties you want to draw with.
  4. Draw. Everything new inherits them.

How it works

A DXF group is only applied when the object actually carries it. An object set to BYLAYER simply has no group 62, 6, 370 or 48 entry, and in that case the corresponding default is deliberately left alone rather than being forced.

That restraint is the considered part. Reading a BYLAYER object and then setting the current colour to something explicit would be a misrepresentation — the object does not have a colour of its own, it takes its layer’s. Leaving the default untouched is the honest translation of what was picked.

Notes and limits

  • BYLAYER properties are not forced. If the picked object inherits a property from its layer, your current default for that property is left as it was.
  • It changes your drawing defaults, not any object, so there is no undo group — nothing in the drawing changed.
  • The layer changes too. That is usually wanted, but it is the setting people forget they applied.

Download and details

NamePropSiphon — adopt a picked object’s properties as the current defaults
DownloadPropSiphon.lsp — 6.1 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandSIPHON
Requiresnothing beyond a CAD platform with AutoLISP.
Source size6.1 KB, 138 lines
Error handlingYes — a *error* handler restores every system variable it changed, on cancel as well as on error.
UndoNot needed — this routine only reads the drawing and changes nothing.
CompatibilityAutoCAD (any release with AutoLISP), BricsCAD, ZWCAD, GstarCAD, ProgeCAD and other IntelliCAD-based platforms. AutoCAD LT needs a LISP enabler. No .NET, no ObjectARX, no installer.
AuthorYZ, August 2026
LicenceFree to use, supplied “as is” with no warranty.

References

  • LAYERPILOT LISP — automatic layer switching, so defaults matter less
  • SL LISP — set just the current layer by picking an object
  • More free AutoLISP routines on this site
  • Wisey’s Steel Shapes — free structural steel section drawing program

Filed Under: AutoLISP Routines

Primary Sidebar

Subscribe to our Youtube Channel

Post CAD drafting jobs on Freelancer.com. and get some free money to do this.

Categories

  • American Steel Industry (4)
  • AutoCAD Articles & Reference (30)
  • AutoCAD Bugs & Problems (19)
  • AutoCAD Tips (29)
  • AutoCAD Tutorials (54)
  • AutoLISP Routines (328)
  • AutoLISP Tutorials (15)
  • CAD Standards (7)
  • Civil 3D (7)
  • Civil Drafting (4)
  • Dimensions (2)
  • Drafting Funnies (71)
  • Drafting History (9)
  • Drafting Standards (84)
  • Electrical Drafting (2)
  • General IT reference (7)
  • Geometry (15)
  • GIS (2)
  • Hatch Patterns (12)
  • Office Life Hacks (3)
  • PT (1)
  • Revit Tutorials (54)
  • Steel Detailing (14)
  • Structural Drafting (26)
  • Technical Dictionary (61)
  • Useful Website Links (19)

Footer

Free downloads

  • Free AutoLISP routines
  • Free hatch patterns
  • SHX fonts & text styles
  • Numbering LISP collection
  • ISO 3098B font

Reference charts

  • AWS weld symbols chart
  • Steel detailing chart
  • Hole & slot sizes
  • Bolt edge distance
  • ANSI & ARCH paper sizes
  • How to fold an A1 drawing

Useful links

  • CAD blocks (DWG)
  • Revit families
  • structuraldrafter.com
  • cad-corner.com
  • About
  • Privacy policy

Provided for free with no warranty · Log in