Hey guys and gals.
Im in a bit of a pickle. I am trying to export a shape files to .dwg, but it comes out crooked. The polylines ar ok, but the hatch is wrong in some areas. The shape is an export of water depths from SMS.
I could export it as a cad, but i need to make a colour style for various depths in map or civil, then export it to .dwg for final drawing editing and ploting. I have found a rough workaround - I simply make the final plan in civil, but it takes much longer than in regular autocad.
Exported .dwg file:
Imported file in map 3d or civil 3d:
Hey guys and gals.
Im in a bit of a pickle. I am trying to export a shape files to .dwg, but it comes out crooked. The polylines ar ok, but the hatch is wrong in some areas. The shape is an export of water depths from SMS.
I could export it as a cad, but i need to make a colour style for various depths in map or civil, then export it to .dwg for final drawing editing and ploting. I have found a rough workaround - I simply make the final plan in civil, but it takes much longer than in regular autocad.
Exported .dwg file:
Imported file in map 3d or civil 3d:
I don't particularly care for your workflow.
You can keep the shapefile as a shapefile then create a TINN surface in Civil3D. For the TINN surface definition, you can use the shapefile itself. For the TINN surface style, use the style named Elevation Banding (2D). This surface style will allow you to apply color to the various elevations when you use Elevation Analysis. The elevation colors are based on your contour intervals and the contour intervals are determined by you. All this can be done in C3D.
Doing what you have described in vanilla AutoCad is watering down, even ignoring, the data in your shapefile. In today's AutoCad world, 'Data is King.'
Civil3D can also create a legend at the same time you're running elevation banding.
Chicagolooper
I don't particularly care for your workflow.
You can keep the shapefile as a shapefile then create a TINN surface in Civil3D. For the TINN surface definition, you can use the shapefile itself. For the TINN surface style, use the style named Elevation Banding (2D). This surface style will allow you to apply color to the various elevations when you use Elevation Analysis. The elevation colors are based on your contour intervals and the contour intervals are determined by you. All this can be done in C3D.
Doing what you have described in vanilla AutoCad is watering down, even ignoring, the data in your shapefile. In today's AutoCad world, 'Data is King.'
Civil3D can also create a legend at the same time you're running elevation banding.
Chicagolooper
I also think Civil 3D do better.
But you set a task for CAD, and there is an option for it.
You probably do not see what you wanted because of the sequence of drawing objects.
If you give priority to the display of objects (light - the lowest priority, dark - the largest, lines - above all), then you will see the desired.
Try using lisp DOBT.
I also think Civil 3D do better.
But you set a task for CAD, and there is an option for it.
You probably do not see what you wanted because of the sequence of drawing objects.
If you give priority to the display of objects (light - the lowest priority, dark - the largest, lines - above all), then you will see the desired.
Try using lisp DOBT.
Thanks, it was a bit helpful, but as you can see in the picture below, actual hatches are not inside of polylines.
Thanks, it was a bit helpful, but as you can see in the picture below, actual hatches are not inside of polylines.
Yes....absolutely. And that is why you should not use your worlflow. Avoid your worlflow and you avoid the problem. Use Civil 3D for a presentation of elevtion data.
Chicagolooper
Yes....absolutely. And that is why you should not use your worlflow. Avoid your worlflow and you avoid the problem. Use Civil 3D for a presentation of elevtion data.
Chicagolooper
How are you made hatches?
How are you made hatches?
@Anonymous wrote:
<<.... When I export the shape as .dwg it turns polygons to polylines and hatches....>>
Please explain the procedure you are using to 'export the shape as .dwg.' What command are you using?
Chicagolooper
@Anonymous wrote:
<<.... When I export the shape as .dwg it turns polygons to polylines and hatches....>>
Please explain the procedure you are using to 'export the shape as .dwg.' What command are you using?
Chicagolooper
mapexportcurrentmaptodwg
mapexportcurrentmaptodwg
1. Try MAPTOACAD.
2. You may have SHP data in latitude-longitude, i.e. line segments have negligible lengths. Therefore, distortions occur when creating hatches.
It would be nice to have an example of a piece of your data in SHP.
1. Try MAPTOACAD.
2. You may have SHP data in latitude-longitude, i.e. line segments have negligible lengths. Therefore, distortions occur when creating hatches.
It would be nice to have an example of a piece of your data in SHP.
Same happens whan I use maptocad - visual. I cant attach .shp file? only dbf
Same happens whan I use maptocad - visual. I cant attach .shp file? only dbf
@Anonymous wrote:<<Same happens whan I use maptocad - visual. I cant attach .shp file?>>
Sorry, but you are not using a suitable workflow that's consistent with the requirements you outlined in the opening post. I suspect you have good elevation data. And as you already know, you are using a bad technique to to display good data.
The MAPTOCAD command work if you just want to see what the command does. It will not accomplish the use color to represent elevation levels in your drawing. The elevations are in the shapefile's database file (dbf). A shapefile has a minimum of four components: shp, shx, dbf and prj.
Is it possible for you to upload your shapefile's shp, shx, dbf and prj?
Chicagolooper
@Anonymous wrote:<<Same happens whan I use maptocad - visual. I cant attach .shp file?>>
Sorry, but you are not using a suitable workflow that's consistent with the requirements you outlined in the opening post. I suspect you have good elevation data. And as you already know, you are using a bad technique to to display good data.
The MAPTOCAD command work if you just want to see what the command does. It will not accomplish the use color to represent elevation levels in your drawing. The elevations are in the shapefile's database file (dbf). A shapefile has a minimum of four components: shp, shx, dbf and prj.
Is it possible for you to upload your shapefile's shp, shx, dbf and prj?
Chicagolooper
I have the impression that AutoCAD when creating Hatches (pouring MPolygons) skips vertices for contours with a large number of vertices (if 10000-11000 incorrectly).
I.e. the problem is not about exporting, but about creating Hatches.
Maybe there are some settings?
I have the impression that AutoCAD when creating Hatches (pouring MPolygons) skips vertices for contours with a large number of vertices (if 10000-11000 incorrectly).
I.e. the problem is not about exporting, but about creating Hatches.
Maybe there are some settings?
@Anonymous,
Welcome to the Autodesk Forums.
You can attach anything here if you zip 'em together first.
Dave
Dave Stoll
Las Vegas, Nevada
@Anonymous,
Welcome to the Autodesk Forums.
You can attach anything here if you zip 'em together first.
Dave
Dave Stoll
Las Vegas, Nevada
The polygon from this data is red. Yellow-green - cut red.
For red Hatch is built roughly. For yellow-green is built accurately.
The polygon from this data is red. Yellow-green - cut red.
For red Hatch is built roughly. For yellow-green is built accurately.
Experimentally determined that for the correct creation of Hatches, the critical number of polygon vertices is 7500.
Experimentally determined that for the correct creation of Hatches, the critical number of polygon vertices is 7500.
I understand that...but still, all I need to present is the area and colours that represent depth, without any elevation data. And since the drawing includes many other things it would be faster for my coworkers to work in vanilla AutoCad.
I have atachet the shape.
I understand that...but still, all I need to present is the area and colours that represent depth, without any elevation data. And since the drawing includes many other things it would be faster for my coworkers to work in vanilla AutoCad.
I have atachet the shape.
Thanks. This means we probably won´t be able to use vanilla Autocad....
Thanks. This means we probably won´t be able to use vanilla Autocad....
Perhaps there are settings that allow you to remove these restrictions for the correctness of Hatches.
The Hatches theme itself is the "vanilla Autocad" theme, i.e. on its forum they can answer better...
Perhaps there are settings that allow you to remove these restrictions for the correctness of Hatches.
The Hatches theme itself is the "vanilla Autocad" theme, i.e. on its forum they can answer better...
Can't find what you're looking for? Ask the community or share your knowledge.