How to change line colors in DXF file
I would like to change colors of lines, but save color differences, between buildings, routes boundaries etc. Same Style, or Random Colors is not proper solution. I attached DXF file in .rar file. Any ideas?
Tagged:
Answers
-
Personally I would organise the DXF into layers first to amke it easier to work with:
- (Right-click Layer > SPLIT)
To add the DXF line colours to the style attributes and edit the colours:- Select everything with the Digitizer Tool
- Right-click > Attribute/Style Functions > Add Style Attributes to Selected Feature(s)
- Select the layer to edit > Options
- Line Styles tab
- Apply Styling Based on Attribute/Name Values
- Select LINE_COLOR from the list
- Init From Values (the colours used for that layer are displayed)
- You can use Edit Style to alter a selected colour from the list. You could instead override the style using 'Use Same Style for All Features'.
You don't have to split the DXF into layers but personally I would find it easier to organise and control what's going on. If you don't split it you can still do as above but will end up with a large number of colours listed and that might be confusing or difficult to work with. -
Thank you! That's seems to work. At least for smaller data sets. For huge area I couldn't select all vectors, as Global Mapper can not handle this <span>
</span>
But after all I tested all on smaller area, saved style to file, and then open it for whole set. So it looks good.
Now I have problem with exporting it to Google Tiles, as without save vector function all tiles are blank. When save vector is selected, Global Mapper is not responding after creating first empty tiles folder...
Categories
- 13K All Categories
- 5.8K Features Discussion
- 349 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 939 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 579 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 110 Global Mapper Forum Website

