Export Cogo Points to SHP not working

Export Cogo Points to SHP not working

allanthebruce
Advocate Advocate
3,136 Views
13 Replies
Message 1 of 14

Export Cogo Points to SHP not working

allanthebruce
Advocate
Advocate

HI There I cant seem to export the Shp Cogo information using "Export Cogo Points to SHP"tool in Toolbox tab.

I have attached the CAD file and am keen to get all attribute data (in my custom services) but all blank...

Appreciate if anyone can have a look. I have already placed a ticket for Autodesk and they have been pretty useless and could not find a solution.

Cheers

Allan

 

0 Likes
Accepted solutions (1)
3,137 Views
13 Replies
Replies (13)
Message 2 of 14

andrewpuller3811
Advisor
Advisor

What version of civil 3d are you using?

Do you have all the updates installed?

 

I am able to export the cogo points in the drawing you attached to shp file without issue from civil 3d 2021 and 2023 using the export Cogo Points to SHP command in the SHP Import/Export Utilities extension.

 

Have you tried uninstalling the Shp Import/Export extension, downloading a new version, then install that?



If a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 11
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2023
0 Likes
Message 3 of 14

allanthebruce
Advocate
Advocate
HI Andrew,
I am using 2022.
Ill install 2023 and see what happens.
Thanks for your reply.
Cheers
Allan

0 Likes
Message 4 of 14

allanthebruce
Advocate
Advocate

HI Andrew, 

Im still getting my export as blank in 2023. Can you please share the shp file so I can have a look?

Thanks

Allan

0 Likes
Message 5 of 14

rl_jackson
Mentor
Mentor

To clarify here are you using the SHP Import/Export Utility from the toolbox or another method?


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 6 of 14

Pointdump
Consultant
Consultant

Hi Allan,
Thanks for posting your drawing. I tried just now using Export Cogo Points to SHP in the SHP Import/Export Utilities, but I'm getting same as you--nothing. To be honest, though, I've never used it before and might not be doing it right.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2027
Message 7 of 14

TerryDotson
Mentor
Mentor

...  cant seem to export the Shp Cogo information using "Export Cogo Points to SHP"tool in Toolbox tab.

Here's a shot in the dark, something I hit as I was testing your file (in another tool).  Assign the drawing to the proper coordinate system, so your CGEOCS system variable doesn't report "".  The 'desk tool may be failing because it's attempting to obtain projected values such as Lat/Long (even if you have them checked off).

 

Also, in case you need it today, attached is a Shapefile with your points, including the PointUDP values and unprojected properties.

Message 8 of 14

allanthebruce
Advocate
Advocate

Hi there,

Im using it from the toolbox and im getting nothing with I tick the information I want exported to the shp file.

See attached.

Thanks

Allan

 

0 Likes
Message 9 of 14

Pointdump
Consultant
Consultant

Allan,
As per Terry's suggestion, assign a coordinate system to your drawing.
I haven't been able to test this, because I tried uninstalling/re-installing the Shp Import/Export extension, which knocked out an essential DLL file somewhere that Civil 3D needs. I've spent most of a day doing a clean uninstall/re-install. The last piece of the puzzle is that I can't download the SHP extension now for some reason.
Dave

 

SHP_Export_1.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2027
0 Likes
Message 10 of 14

ChicagoLooper
Mentor
Mentor

Hi @allanthebruce 

If you pound the E-A-S-Y button you can do it this way.

 

<<If you have an appropriate coordinate system, assign it. Shapefile's typically have a projection file. Assign one to your drawing. Do it now. That way, others who use use your shapefile will know the native Coordsys of your new data. Not informing others the native Coordsys of your data is a no-no and will likely generate whispers behind your back.>>

 

To create a shapefile the DOWN-N-DIRTY way, follow these steps:

 

1. Click Create Blocks from COGO Points. Image-1.

Image-1Image-1

 

2. When creating the blocks, select 'All Points' for the Select Point Groups part of the creation process. Image-2.

.Image-2Image-2

 

3. Select all objects in modelspace. Using your uploaded drawing, there will be 186 new blocks (which were just created) and 186 cogo points OR a grand total of 372 objects. As you already know, AutoCAD will ignore the cogo points when you perform the MAPEXPORT procedure, so at this point, make like AutoCAD and ignore the 186 cogos too. Image-3.Image-3Image-3

 

4. On command line enter MAPEXPORT. Name your shapefile (e.g. give it the name of your dwg file) and save it in a subfolder of your project folder. Image-4.

Image-4Image-4

 

5. For the Selection Tab, make your selections as shown. Notice that even though 372 objects were selected, 186 cogo points were Filtered Out or ignored. Image-5.

Image-5Image-5

 

6. Next, for the Data Tab, make your selections as shown. Image-6.

Image-6Image-6

 

7. Finally, for Options Tab, click OK  at the bottom of the command window to complete the MAPEXPORT procedure. Image-7.

<<Note: If you assigned an appropriate Coordinate System to your drawing, then it would appear here. You may keep that assigned coordsys 'AS-IS' you don't need to convert it.>>

Image-7Image-7

 

Done.

Chicagolooper

EESignature

Message 11 of 14

Pointdump
Consultant
Consultant
Accepted solution

Allan,
I finally got the Shp Import/Export Extension re-installed, and I gave it another crack with MGA/20-56 coordinate system assigned. (just a guess) Nope, still nothing. I have no idea how Andrew got it to work.
Here's one workaround. Export your points to a text file using the "1 CMS UPLOADABLE PENZD with SERVICES" point file format. Add the PENZD and UDP names to the first line in the text file. Then make a shapefile in QGIS using "Add Delimited Text Layer".
The SHP Import/Export Extension holds such promise. It would be nice to get it working.

Shapefile attached.
Dave

 

SHP_1.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2027
0 Likes
Message 12 of 14

allanthebruce
Advocate
Advocate

Thanks Dave and everyone else who has helped on this, much appreciated. The export method seems to be the best and work around.

Thanks

Allan

 

0 Likes
Message 13 of 14

andrewpuller3811
Advisor
Advisor

Apologies, I just saw from your posted image that you are trying to export the UDP for the cogo points.

I exported without the UDP and was able to export the points to SHP successfully.

When I tried exporting with the UDP, the exported shape file was blank.

 

Looks like there is a bug in the export function when UDP are chosen to export.

 



If a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 11
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2023
Message 14 of 14

dodgese2
Advocate
Advocate

Thank you very much, this solved my issue. My points were coming in with the correct #, Northing and easting, but the elevations were rounded up to whole numbers using the 'Export COGO points to SHP utility found in the Toolspace> Toolbox.

0 Likes