UCS

Defines an named or unnamed user coordinate system (DXF Reference) for usage in CAD applications. This UCS table entry does not interact with ezdxf in any way, to do coordinate transformations by ezdxf use the ezdxf.math.UCS class.

Subclass of

ezdxf.entities.DXFEntity

DXF type

'UCS'

Factory function

Drawing.ucs.new()

See also

UCS and OCS

class ezdxf.entities.UCSTable
dxf.owner

Handle to owner (Table).

dxf.name

UCS name (str).

dxf.flags

Standard flags (bit-coded values):

16

If set, table entry is externally dependent on an xref

32

If both this bit and bit 16 are set, the externally dependent xref has been successfully resolved

64

If set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited. (This flag is only for the benefit of AutoCAD)

dxf.origin

Origin as (x, y, z) tuple

dxf.xaxis

X-axis direction as (x, y, z) tuple

dxf.yaxis

Y-axis direction as (x, y, z) tuple

ucs() → UCS

Returns an ezdxf.math.UCS object for this UCS table entry.