Hello.
I am building a small automation to read dxf files.
All the dxf files are made by me, so I decide their format.
I can choose to use blocks instead of polylines for example)
Every layer is a building floor.
In this example.
The hatch color is the area type.
1. Some of the lines in the area, need to be different (different materials). what can I do that I will be able to read it automatically (both different color or line type do not work with polyline).
2. I need to put something on the walls (lines) to represent windows. I need to connect it to a specific line with the height and width information. and read automaticly from the dxf file.
This is a 2D drawing not 3D.
Any ideas
Please advice
reading dxf
Moderator: andrew
reading dxf
- Attachments
-
- zone.png (20.16 KiB) Viewed 21338 times
Re: reading dxf
Both should work fine, also with polylines.RobinCris wrote:1. Some of the lines in the area, need to be different (different materials). what can I do that I will be able to read it automatically (both different color or line type do not work with polyline).
You could use blocks for this. It's also possible to attache additional information to entities (XData) which is then processed through addXData[String|Real|Int] in your DL_CreationInterface implementation.2. I need to put something on the walls (lines) to represent windows. I need to connect it to a specific line with the height and width information. and read automaticly from the dxf file.
This is a 2D drawing not 3D.
Please elaborate if that's not what you meant.