MCPcopy Create free account
hub / github.com/easyw/kicadStepUpMod / formatObject

Function formatObject

dxf_parser/_importDXF.py:556–604  ·  view source on GitHub ↗

Apply text and line color to an object from a DXF object. This function only works when the graphical user interface is loaded as it needs access to the `ViewObject` attribute of the objects. If `dxfobj` and the global variable `dxfGetColors` exist the `TextColor` and `LineColor` o

(obj, dxfobj=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

addObjectFunction · 0.85
addTextFunction · 0.85
processdxfFunction · 0.85

Calls 1

getGroupColorFunction · 0.85

Tested by

no test coverage detected