Seems like this is a never ending battle with Civil 3D data shortcuts, but I'll see if anyone has any ideas.
So I first created a drawing which included a surface called "CONTOURS" and an existing sewer pipe network. I then created a data shortcut of the existing sewer network and started a new drawing with a proposed sewer pipe network.
When I received better contour data, I created a new "10FT EXIST CONTOURS" surface in the existing sewer drawing and switched the reference surface for the existing sewer structures and pipes to the new "10FT EXIST CONTOURS" surface. And of course I deleted the old "CONTOURS" surface because I no longer needed it.
Now, the part that makes me want to pull all my hair out! When I open the proposed sewer drawing I get all the error messages that "Reference surface 'CONTOURS' not found in reference drawing" for all 22 of the existing sewer structures.
I've tried deleted the existing sewer network in the proposed sewer drawing and recreating the data shortcut but nothing makes the errors go away. Is there any other way the existing sewer structures could be referencing the deleted surface that I have not thought about? Any other ideas to get the error messages to clear?
Thanks,
Eric
@eschey wrote:
The curious thing is that there isn't any errors in the existing sewer drawing, but I still get errors in the proposed sewer drawing.
The Dref in the Proposed drawing is subject to the same object level override possibilities Matt mentioned.
Did you also verify in the Proposed dwg that the individual "Structure properties" don't have "Contours" as reference surface and also at the Pipe Network properties level?
Well, I've tried everything I can think of to no avail. All pipes and structures are set to the correct surface in the existing sewer drawing. The network properties are set to the correct surface in the existing sewer drawing.
When I data reference the existing sewer into the proposed sewer drawing the pipes come in referenced to the correct surface, but the reference surface for the structures and in the network properties are blank. But even after I set both of these to the correct surface I still get the "reference surface not found in reference drawing” error.
There are two things though that may be connected to the errors. One is the Map Message (attached) I get when I data reference the Existing Sewer into the proposed drawing.
The other is that I attempted to bring the "CONTOURS" surface back into the existing sewer drawing to get rid of the error. When I did so and synced the existing sewer network in the proposed sewer drawing I got a bunch of notices that said something like "AcDb3dPolyline(29F51)" vertices has been updated. When bringing the "CONTOURS" surface back into the existing sewer drawing failed to get rid of the errors in the prosed drawing I deleted the surface once a again a ran an audit which again returned information on polylines stating that "AcDb3dPolyline(29F51) could not be repaired. It will be Erased." Are there 3D polylines that are associated with a surface which are created as part of the pipe network?
I share the same thoughts as Matt and Jay. One other suggestion, which shouldn't have to be done, is to use data reference manager and load your data references into there. Then force all references to the contours to look at the other surface. Since you recreated the data reference, this should not have to be done but it's worth a shot.
Another "in the future" suggestion would be, if you do create a new surface instead of just updating the one you have, I would suggest to make the data reference as you would normally. Then, before you open any file that the new surface needs to replace the old one, use the data refence manager and replace the data references there. That way the files you open should automatically "repath" to the new data reference.
Final solution was to export the existing sewer network to a Land XML file and bring it back in and give it the correct reference surface. Once the existing sewer data shortcut was recreated and brought back into the proposed sewer drawing, there are no more errors!
Thank you all for your help!