Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Take floor plan lines automatically from image or PDF

19 REPLIES 19
SOLVED
Reply
Message 1 of 20
b.francesco9D4FL
1223 Views, 19 Replies

Take floor plan lines automatically from image or PDF

Good morning, when inserting a floor plan into Autocad via image or PDF, is it possible to pick up the drawing automatically, without the need to recalculate line by line?

Thank you.

19 REPLIES 19
Message 2 of 20
cadffm
in reply to: b.francesco9D4FL

Hi,

 

PDF with Vektordata: Use PDFIMPORT [F1]

 

Rasterdata image/pdf: No, there is nothing ootb, you need to use a RASTER2VECTOR converter

or redraw it line by line yourself.

Sebastian

Message 3 of 20

@b.francesco9D4FL ,

 

May want to look into PDFIMPORT (Command) or Raster Design:

 

"The accuracy of the resultant AutoCAD content is largely dependent upon the quality of the original PDF, so results may vary."

 

 



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 4 of 20

Can you describe how to do this step by step?
I would like to avoid copying by drawing line by line.

 

I currently use Autocad 2023, does this version have the commands you are talking about?

Message 5 of 20
cadffm
in reply to: b.francesco9D4FL

Hi,

 

PDFIMPORT is available, as described - working for vector content of PDFs.

RASTERDESIGN is another (Autodesk)Software.

Sebastian

Message 6 of 20
b.francesco9D4FL
in reply to: cadffm

Meanwhile, thank you for your answers.
I have already imported the PDF, but I would like to avoid drawing all the lines manually.

So there would be an option to create a direct, automated copy of the lines (which I would then edit manually myself if needed).

Could you please explain to me step by step?

Again, I have already imported the PDF, but I would like Autocad 2023 to automatically take the lines from it.

Message 7 of 20
atGK8NU
in reply to: b.francesco9D4FL

Sounds like you have already attached your PDF but not yet imported it. Type PDFIMPORT at the command line, and select your PDF. It should convert to editable objects. 

Message 8 of 20
cadffm
in reply to: atGK8NU

or his PDF doesn't contain vector data, but he enabled the "Raster images" option

and by this way PDFIMPORT created tons of .png files, useless .png in this case.

 

@b.francesco9D4FL 

Don't enable Raster images option.

If nothing or parts only import, you need another software to convert raster to vector.

 

 
 

 

 

Sebastian

Message 9 of 20
b.francesco9D4FL
in reply to: atGK8NU

I kindly ask for your patience.

 

I try to explain in detail:

 

I start with “Drawing1” in Autocad 2023, then blank background.
I import the PDF with the floor plan and display it on the black background.

 

I type in as just recommended “PDFIMPORT,” but it gives me the following options:

 

PDFIMPORTIMAGEPATH
PDFIMPORTFILTER
PDFIMPORTMODE
PDFIMPORTLAYER

 

 

That's right, and what should I select?
Or is there a different procedure?

Message 10 of 20
atGK8NU
in reply to: b.francesco9D4FL

Just hit the ENTER key. Does that not work? 

Message 11 of 20
atGK8NU
in reply to: b.francesco9D4FL

Or select the PDF first, and select Import as Objects from the ribbon.

atGK8NU_0-1717530094024.png

But you still have not told us, is your PDF vector or raster? 

 

 

Message 12 of 20
b.francesco9D4FL
in reply to: cadffm

Can you describe how to do it step by step?
I would like to avoid copying by drawing line by line.
Message 13 of 20
pendean
in reply to: b.francesco9D4FL


@b.francesco9D4FL wrote:
Can you describe how to do it step by step?
I would like to avoid copying by drawing line by line.

Friend, open your AutoCAD and drawing1, then on the RIBBON (that row of giant icons at the top of your program screen), click on the INSERT tab, then click on PDF IMPORT (which is a pulldown menu) then choose PDFIMPORT again

pendean_0-1717531828297.png

 

Now watch the commandline, it is going to ask you to select the PDF, tap that <ENTER> button on your keyboard, then go find and choose your PDF from the pop-up screen that appears. Click OK on that same pop-up.

 

Now you'll get this screen: choose only these settings an tap OK

pendean_1-1717532031027.png

 

If your PDF comes in only as a picture or you get an error message that the program cannot do anything with your pdf,

THEN YOUR PDF CANNOT BE CONVERTED FOR FREE IN AUTOCAD.

You are going to have to pay someone to draw it all up for you instead.

 

Hope that helps.

Message 14 of 20
cadffm
in reply to: b.francesco9D4FL

Theres nothing you need a step by step introducion.

PDFIMPORT<enter> should start the command, if not - we have to solve this problem first.

 

or

Let's go this way, I ask you:

How do you "copy one line" now?

Perhaps your answer will explain what your issue is.

 

Share screenshot (whole program window / dialogs - , dwg and pdf file, all what makes it easier for us to understand your problem.

Sebastian

Message 15 of 20
b.francesco9D4FL
in reply to: cadffm

Good morning,

 

I try to attach the requested images, including the input window with the options to choose.

 

Autocad 2023 tells me that it is rastar image.

 

I'll preface this by saying that it was image file that I turned into PDF file.

Message 16 of 20
cadffm
in reply to: b.francesco9D4FL

 

Hi,

 

>>"I type in as just recommended “PDFIMPORT,” but it gives me the following options:"

Sure, if you are running an italien Acad (but you forgot to say it).

PDFIMPORT or IMPORTAPDF or _PDFIMPORT will work.

 

>>"including the input window with the options to choose"

Disable your immagini raster option (also set all other seeting like Pendean too)

and all what you get now, is available, all other stuff are million useless dots = an raster image.

 

 

>>"Autocad 2023 tells me that it is rastar image"

AFTER you used import! Because you enabled the immagini raster option.

By this step your created one und 100 raster images.

Read more about it [F1]

Check out the content of your _XREF or XRIF command

and take a look into this folder: PDFIMPORTIMAGEPATH

 

Note: You can use english command in italien Acad, with a leading underline!

XRIF or _XREF, UNISCILAY or _LAYMRG

 

 

>>"I'll preface this by saying that it was image file that I turned into PDF file."

You will never find "Objects" in an image or in data from an image.

 

-

 

Exavlty for this task (raster/image data to vector data) wrote about ANOTHER Software

what is for convert raster to vector data. Use your favorite search engine, like google for example.

https://www.google.com/search?client=firefox-b-e&q=conver+raster+to+vector

 

 

Sebastian

Message 17 of 20
pendean
in reply to: b.francesco9D4FL


@b.francesco9D4FL wrote:

...Autocad 2023 tells me that it is rastar image....

 


AutoCAD has no ability to convert a picture, even if you make it into a PDF since it will always be a picture.

 

You are going to have to buy a converter from another software company, or sit there and trace over that picture in autocad as best you can to get as close as you can to that picture.

 

Best wishes.

Message 18 of 20
b.francesco9D4FL
in reply to: pendean

Thank you all for your responses and I apologize if I did not specify that my Autocad is in Italian language.

 

I am trying to vectorize with Inkscape, but at the moment I have not succeeded yet.
Honestly, this is the first time I have ever had to vectorize an image, but so far, unfortunately, I have not succeeded even with Inkscape.

 

The file still loses quality with zooming.


It is also saved in .svg format, but openable with Internet Explorer.

In short, the thing currently looks quite elaborate
I don't know if it is a problem with the file, but certainly my inexperience as well.

Message 19 of 20
pendean
in reply to: b.francesco9D4FL


@b.francesco9D4FL wrote:

Thank you all for your responses and I apologize if I did not specify that my Autocad is in Italian language.

 

I am trying to vectorize with Inkscape, but at the moment I have not succeeded yet.
Honestly, this is the first time I have ever had to vectorize an image, but so far, unfortunately, I have not succeeded even with Inkscape.

 

The file still loses quality with zooming.


It is also saved in .svg format, but openable with Internet Explorer.

In short, the thing currently looks quite elaborate
I don't know if it is a problem with the file, but certainly my inexperience as well.


Inkscape has limited abilities and you have to spend some time using it to understand it's limitations, an it might not be the correct tool for your current need. Try others, keep in mind you might just have to pay for a software to meet your image conversion needs.

 

Please note that AutoCAD has no ability to use SVG file formats, sorry.

Message 20 of 20
b.francesco9D4FL
in reply to: pendean

Yes I have noticed that it is not such a straightforward thing, and then I assume it also depends on the quality of the file to be vectorized.
Thanks again to everyone for the support and I hope I can count on your help again if I need it.

 

I wish you all a good day.

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report