dxfgrabber - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: dxfgrabber (/thread-2163.html) |
dxfgrabber - elhetch - Feb-23-2017 hi , would like to know why this code is not working, i would like to get the start point of a line in a drawing; import dxfgrabber dwg = dxfgrabber.readfile("test.dxf") print("DXF version:{} ".format(dwg.dxfversion)) all_lines = [entity for entity in dwg.entities if entity.line.start] for line in all_lines: print(line.start) RE: dxfgrabber - buran - Feb-23-2017 Please, use code tags and also use meaningful Thread titles. It is confusing and unclear if all your threads are named just dxfgrabber. Also post full Traceback. 'Not working' is really unclear RE: dxfgrabber - Larz60+ - Feb-23-2017 Quote:this code is not workingHow is it not working? details please |