Trimming Polylines
in Vector Data
I have a DXF file with polylines representing contour lines and a DWG file with polylines representing areas where these contour lines must be trimmed. Trimming polylines in CAD is EXTREMELY time consuming. It takes forever to trim multiple polylines and quite often CAD freezes.
Is there a way to perform this trimming process in GM faster than in CAD?
A step by step instruction would be highly appreciated.
Is there a way to perform this trimming process in GM faster than in CAD?
A step by step instruction would be highly appreciated.
Tagged:
Answers
-
I don't have similar DXF or DWG files handy to test this. However, I quickly whipped up a few lines and an area to check the ability to trim:
1. Convert your DWG polylines to areas (if they aren't already).
2. Select all the lines and all the areas.
3. Right-click, select Crop/Combine/Split Functions, then Crop/Split Selected Line Features to Selected Area Features.
4. When it prompts to Crop or Split, choose "Yes" to trim off the parts of the lines outside the area.
This seems to work even when the lines are intersected by more than one area. Just make sure you selected all of the areas affecting a line or group of lines as this operation needs to be done in one go. I have no idea on the state of the 3D properties of the polylines once you export back out as I don't have a lot of experience with that aspect. -
Thank you very much! It worked.
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 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
