-
Thank you for developing ezdxf! I tried to export the dxf to pdf by ezdxf and used different strategy but still cannot layer the entities, there seems no layer information in pdf files: Please refer to my code and the test dxf files:
And please refer to the attached test files: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I wasn't aware that PDF has the concept of layers. It looks like what your PDF viewer is calling 'layers' are 'optional content groups'. Currently the ezdxf frontend does not instruct MuPDF to output optional content groups but I think this could be implemented. |
Beta Was this translation helpful? Give feedback.
-
This PR should implement what you are looking for 🙂 #1155 |
Beta Was this translation helpful? Give feedback.
This PR should implement what you are looking for 🙂 #1155