Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PNEZD file import issue.

34 REPLIES 34
SOLVED
Reply
Message 1 of 35
afdelarosa
8309 Views, 34 Replies

PNEZD file import issue.

Hello,

New to Civil3D 2012, so please bear with me.

I have a point file with <null> elevations. Somehow it won't let me import this .txt file (using pnezd comma delimited) into my .dwg. If I have elevations I have no problems. We tried creating a pned (comma delimited) and the <null> having an unused column and it didn't work.

Ideas? Thanks in advance.

34 REPLIES 34
Message 2 of 35
owenmull
in reply to: afdelarosa


@afdelarosa wrote:

Hello,

New to Civil3D 2012, so please bear with me.

I have a point file with <null> elevations. Somehow it won't let me import this .txt file (using pnezd comma delimited) into my .dwg. If I have elevations I have no problems. We tried creating a pned (comma delimited) and the <null> having an unused column and it didn't work.

Ideas? Thanks in advance.


You are trying to import a .txt file in a .csv format (the PNEZD (comma delimited) is for .csv files)

 

Use the PNEZD (space delimited) to import a .txt file.

 

If that returns an error, edit the .txt file elevations, change <null> to 0. Then try again.

-Owen
Windows 7 x 64 bit

Civil 3D 2017
______________________________________________________________
Usually, I find that the problem is between the keyboard and the chair.
Message 3 of 35
JLHUesi
in reply to: afdelarosa

We usually just change the invalid indicator in the pnezd file format Elevation tab to <Null> and it works fine.

Message 4 of 35
owenmull
in reply to: JLHUesi

I suppose that could work, but I'm hesitant to go in and start messing with AutoCADs native formats like that. Reason being, if your process changes in the future, and you use a different file type, that tool might not work anymore unless you remember to reset it to normal.

 

Much easier just to run a Find & Replace on a .txt or a .csv file instead, imho.

-Owen
Windows 7 x 64 bit

Civil 3D 2017
______________________________________________________________
Usually, I find that the problem is between the keyboard and the chair.
Message 5 of 35
wfberry
in reply to: owenmull

Just for the record, I have been using PNEZD comma delimited TXT files for over 20 years with no problem.  It shows examples right on the screen when you import them.  At least for the last 2 or 3 versions.

 

Bill

 

Message 6 of 35
afdelarosa
in reply to: wfberry

Thanks to all for the responses.

When trying to select the pnezd comma delimited format on civil 3d it tells me the .txt file does not support this format. So I wonder if there is some setting unchecked somewhere. We used to do it all the time in Land Desktop with no issues.

Thanks.

Message 7 of 35
wfberry
in reply to: afdelarosa

Make sure it is a REAL txt file.  Open in Notepad and save in Notepad.  Also check for any lines of text before the first line of the PNEZD text.

 

Try the attached file.

 

Bill

Message 8 of 35
AllenJessup
in reply to: afdelarosa

If you could post the file or a small portion of it showing the Null elevation. It would help us diagnose the problem.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 9 of 35
afdelarosa
in reply to: AllenJessup

Point issue2.jpgPoint issue.jpg

Message 10 of 35
afdelarosa
in reply to: afdelarosa

I also attached why I see when trying to import points. Note that the pnezd comma delimited option does not show and when I try to add it, it tells me it is an invalid format.

Thanks.

Message 11 of 35
owenmull
in reply to: afdelarosa

Ok. I see what is going on here. 

 

I know this probably isn't the exact solution you are looking for, but try opening the point file itself in Excel (or an open source spreadsheet program, like OpenOffice) and save it as a .csv

 

You might have to do some cleanup, but try that, and then import that .csv as a PNEZD (comma delimited).

-Owen
Windows 7 x 64 bit

Civil 3D 2017
______________________________________________________________
Usually, I find that the problem is between the keyboard and the chair.
Message 12 of 35
AllenJessup
in reply to: afdelarosa

This is how it should look:

 pi.PNG

 

I notice you have filtering on. I don't know if that's blocking the PNEZD format. Try turning it off.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 13 of 35
owenmull
in reply to: AllenJessup

Yes, yes, to Obi-Jessup you listen!

 

lol

-Owen
Windows 7 x 64 bit

Civil 3D 2017
______________________________________________________________
Usually, I find that the problem is between the keyboard and the chair.
Message 14 of 35
AllenJessup
in reply to: owenmull

I'm not sure yet. I've tried turning on filtering while importing a TXT file and it doesn't filter out PNEZD (comma delimited). It's possible that the files are missing of the path is set wrong on the OPs computer. We'll have to wait for a reply.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 15 of 35
afdelarosa
in reply to: AllenJessup

Point issue3.jpg

Message 16 of 35
AllenJessup
in reply to: afdelarosa

That looks like it. Do the points come into the drawing OK?

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 17 of 35
IanMcClain
in reply to: afdelarosa

Try renaming the .txt to .csv

 

If that doesn't work, open it in text pad do a find and replace of ",<null>," to be just ",".

 

PNEZD should recognize .txt. You could change the default extension for PNEZD to .txt. That is what mine is.

Ian McClain
Message 18 of 35
afdelarosa
in reply to: IanMcClain

Ok, we are getting somewhere here. I turned the filtering off. I replaced the <null> for "0". Imported my points but the descriptions are not coming in. (I tried the .cvs part but I normally just grab the point file, not really export them when it comes from the field).

Thanks again!

Message 19 of 35
owenmull
in reply to: afdelarosa

Ahhh, good old forums. We might not *always* solve the problem, but we will sure have fun confusing you! LOL!!!

-Owen
Windows 7 x 64 bit

Civil 3D 2017
______________________________________________________________
Usually, I find that the problem is between the keyboard and the chair.
Message 20 of 35
Jeff_M
in reply to: afdelarosa

You could just create a copy of the PNEZD(comma delimited) point file format and edit it so the elevation column is unused.

4-20-2012 1-54-17 PM.png

Jeff_M, also a frequent Swamper
EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report