Feb-21-2017, 11:15 AM
(Feb-21-2017, 11:06 AM)buran Wrote: It's really by reading the docs. It becomes easier with the practice. Of course it depends also on the quality and completness of the documentation.
Reading the dxf file returns object of typeDrawing
. next you can see thatDrawing
haslayers
property that returns instance ofLayersTable
class. Then you see thatLayerTable
class hasnames
method that returns sorted list of all layer's names.
You should read the docs to get idea of the properties and methods ofLayerTable
andLayer
classes.
thank you , i will follow your advice.