A lot of my projects include reading layer names from DWG-files and check if they are consistent with a layer standard or if they are empty. As I'm both interested in the data features (for other tests) and the schema I need to retrieve both from the DWG files. There are various ways of doing this and the different techniques varying in speed pretty dramatically.
- Reading the Schema with a FeatureReader transformer, Autodesk AutoCAD DWG/DXF-reader, just reading the Schema Features. Group Entities By "Layer name": 5 minutes 21.6 seconds
- Reading the Schema with a FeatureReader transformer, Autodesk AutoCAD DWG/DXF-reader, just reading the Schema Features. Group Entities By "Attribute Schema": 35.5 seconds (this options is useless for me as the Schema reader just read layers that holds entities and I need to check which layers that are empty)
- Reading the Schema with a FeatureReader transformer, Schema (Any Format)-reader, choosing Autodesk AutoCAD DWG/DXF as input format: 3.1. seconds
- Reading the Schema with a Schema (Any Format)-reader, choosing Autodesk AutoCAD DWG/DXF as input format: 3.2 seconds (one interesting thing here is that the reader says Successfully opened the 'Release2018' AutoCAD file even if the file is a Release2013 file)