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

Function getGroupColor

dxf_parser/_importDXF.py:482–528  ·  view source on GitHub ↗

Get the color of the layer. It searches the global variable `drawing.tables`, created in `processdxf`, for a `layer`; then iterates on the data, and if the layer name matches the layer of `dxfobj`, it will try to return the color of its layer. It searches the global variable `d

(dxfobj, index=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

formatObjectFunction · 0.85

Calls 1

get_typeMethod · 0.45

Tested by

no test coverage detected