Problem creating profile from file

Problem creating profile from file

Anonymous
Not applicable
772 Views
5 Replies
Message 1 of 6

Problem creating profile from file

Anonymous
Not applicable

Hello,

 I'm creating profil with this items. But i have this message: *Imput file has invalid geometry* . for this time, i dont have the solution. See here the file of items in .txt and .xls format. Please help me to see the problem with the input file.

 

Thank you

0 Likes
773 Views
5 Replies
Replies (5)
Message 2 of 6

Pointdump
Consultant
Consultant

Benjamin,

 

There's a double space in the first line of your text file.

 

Edit: Removing that extra space didn't work. Still have the "invalid Geometry" error.

 

ProfileFromFile.png

 

 

 

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

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

Joe-Bouza
Mentor
Mentor
I’m pretty sure save as txt from Excel makes tab delimited.
Try copy the space paste to find and replace and use one space bar in replace field

Joe Bouza
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 4 of 6

Pointdump
Consultant
Consultant

Hi Joe,

 

I only found that double space in the first line of Benjamin's text file. Everything else was a single space, exactly as needed to create the Profile. I'm stumped. It should work, but yet it doesn't.

 

I even tried saving the Excel file as a CSV and then replacing the commas with spaces. Still didn't work.

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

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

Jeew-m
Mentor
Mentor

Dear Friend,

Apart from Dave's suggestion on the spacing issue on the first row there is another issue in station 8300. You have two rows for station 8300. You need to delete/modify one station and do the import. It will work.

This is how I figured it out.

Stations are in incremental order. So going down means increasing the station value. I put a simple IF function on your excel. At 8300 it says next station to 8300 is not greater than 8300. Then when I checked it is not greater than 8300 but it is equal. This has been the issue.

 

Thanks



Jeewana Meegahage
Design Engineer
Autodesk Civil 3D Tutorials
Facebook | YouTube | LinkedIn







Message 6 of 6

Pointdump
Consultant
Consultant

Jeewana,

 

Excellent! You found it! I deleted one of those stations and now it works.

 

ProfileFromFile2.png

 

 

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025