How can I define group code 70 only once for each polyline entities?

39 views
Skip to first unread message

nishihi

unread,
Oct 13, 2020, 11:05:43 PM10/13/20
to python-ezdxf

Hi all,

When I use " dxf.add_polyline_2d(pts, format='xyseb', closed=False, layer=Lay)", the group code 70 is defined for all vertexes. But I need it only once for one polyline entity.

How can I remove group code 70 for each vertex?

Best regards,
nishihi

nishihi

unread,
Oct 13, 2020, 11:07:09 PM10/13/20
to python-ezdxf
I'm attaching my dxf exampleask.jpg

2020年10月14日水曜日 12:05:43 UTC+9 nishihi:

Manfred Moitzi

unread,
Oct 13, 2020, 11:26:33 PM10/13/20
to nishihi, python-ezdxf
This a POLYLINE entity which has one VERTEX sub-entity for each polyline point, the second group code 70 is the flags attribute for the VERTEX entity and is required for a valid entity.

--
You received this message because you are subscribed to the Google Groups "python-ezdxf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-ezdxf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-ezdxf/7270e02f-cf64-4553-be91-fb6d438906f4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages