How to edit an Underlay in AutoCAD 2017?

How to edit an Underlay in AutoCAD 2017?

Anonymous
Not applicable
17,107 Views
17 Replies
Message 1 of 18

How to edit an Underlay in AutoCAD 2017?

Anonymous
Not applicable

I currently have an underlay PDF in AutoCAD 2017. how can I edit it as parts? I have several lines. I have tried to ungroup it, explode it, block edit but it won't work. Is there a way to edit this? thank you

0 Likes
Accepted solutions (2)
17,108 Views
17 Replies
Replies (17)
Message 2 of 18

rkmcswain
Mentor
Mentor
If it's attached as a reference, then it's just that, a reference.

If you import the PDF as geometry, then you can edit it in AutoCAD.

See also: https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to...

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 3 of 18

Anonymous
Not applicable

I clicked the link and it says this,

 

"Additionally, PDF underlays in drawings created with previous AutoCAD releases can be converted into editable drawing geometry using the PDFIMPORT command."

 

How do I do this?

0 Likes
Message 4 of 18

rkmcswain
Mentor
Mentor
Select the PDF attachment.

The PDF Underlay contextual ribbon tab will appear.

Pick "Import as Objects"

R.K. McSwain     | CADpanacea | on twitter
Message 5 of 18

Anonymous
Not applicable

That does not seem to do anything. It says no objects were found. I attached a picture of the error. I received the same error for all three options of keep, detach, and unload. Is there something else I should be clicking?

0 Likes
Message 6 of 18

rkmcswain
Mentor
Mentor
Can you please attach the DWG and PDF files?
R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 7 of 18

Anonymous
Not applicable

Please let me know what you think. The pdf , .bak ,and .dwg file are attached

0 Likes
Message 8 of 18

rkmcswain
Mentor
Mentor

I'm not sure. My first thought was that maybe this was a scanned PDF, but I see it was printed from AutoCAD 2017.

 

@john.vellek - want to take a crack at this?

 

 

R.K. McSwain     | CADpanacea | on twitter
Message 9 of 18

john.vellek
Alumni
Alumni
Accepted solution

Hi @Anonymous,

 

I removed the underlay first. Then I used PDFIMPORT with the settings below.Capture.PNG

After the import completed, I was able to explode the block and work on the individual entities. I did all of this in AutoCAD 2017.

 

 

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

 

 

 

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 10 of 18

Anonymous
Not applicable

I am having a hard time removing the underlay. For one, I can not find anywhere on the internet about removing the underlay. I have found how to hide or turn on or off, but not remove. How exactly do I remove the underlay.

 

From what I tried for "removing the underlay"( which for me was turning it off) did not allow me to import the pdf after this. When you say import pdf, you mean insert the pdf that is already in the drawing?

0 Likes
Message 11 of 18

john.vellek
Alumni
Alumni

Hi @Anonymous

 

To remove it I opened my XREF Manaager (XR), selected the PDF and then detached it.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 12 of 18

Anonymous
Not applicable

Could you please possibly attach some screen shots of the process?

0 Likes
Message 13 of 18

john.vellek
Alumni
Alumni
Accepted solution

Hi @Anonymous,

 

I apologize for the delay  - I am building up a new workstation amongst trying to get work done too.

 

Please take a look at this Screencast and let me know if you have any questions.

 

 

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


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 14 of 18

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

I am checking back to see if my post helped you with your problem. Please add a post with how you decide to proceed and your results so other Community members may benefit.

 

Please hit the Accept as Solution button if a post or posts solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 15 of 18

Anonymous
Not applicable

That did work. the problem that I have is AutoCAD tends to change the symbols into something weird. I attached a .dwg file of what it sometimes does and what I want or even what it was looking like in the pdf. Is there a way to stop this from happening?

 

I have been working on some code but it does not seem to be working and I don't know why. I could you assistance.

 

I want the code to find all these weird symbols, left side of the .dwg file attached  and replace them with ones that look like on the right side of the .dwg.

 

(defun c:quicks();defines the new command
 (setq myss (ssget "X" '((0 . "MTEXT")))) ; creates a selection set of MTEXT entities
 (if myss ; verifies there is a selections set to process
  (progn ; groups together processes
   (setq mylen (sslength myss) ; how many mtext ents
         mycnt 0 ; starting point counter
   )
   (while (< mycnt mylen) ; whiel loop to step through all ents
    (setq myent (ssname myss mycnt) ; pick the index item out of the selection set using cnt variable
       myentdata (entget myent); get the ents dxf data
       myins (cdr (assoc 10 myentdata)) ; get the insertion point (dxf code 10)
       mymtextval (cdr (assoc 1 myentdata)); get the text value in the ent
          mycnt (1+ mycnt) ; bump our counter for the next ent on next iteration
          blname "Unknown" ; set the blname variable to unknown to do nothing with.
    )
    (cond ; start conditionl block
     ((= mymtextval "(!") ; is the mtext value this?
      (setq blname "switch") ; then set my blockname to this
     )
     ((= mymtextval ")\"") ; Same as above
      (setq blname "recloser")
     )
     ((= mymtextval "kà")
      (setq blname "regulator")
     )
     ((= mymtextval ",%")
      (setq blname "sectionalizer")
     )
     ((= mymtextval "S")
      (setq blname "substation")
     )
     ((= mymtextval "k")
      (setq blname "fuse")
     )
     ;;add more options here
    )
    (if (/= blname "Unknown") ; if there is a blockname found
     (command "-insert" blname myins "" "" "") ; insert the block
    )
   )
  )
 )
 (princ)
)

0 Likes
Message 16 of 18

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

The PDF that you attached showed those "symbols" exactly the way they are present in your drawing file. Do you have a different PDF that  shows them correctly?

 

I am happy to look at that file to see if I can determine why they get changed when imported.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 17 of 18

Anonymous
Not applicable

I would really like ot know why that happens. But, I can't attach the document as pdf or dwg file more than I have sent because of work security. Unless you know of a way to delete part of pdf underlay and not just hide it? Or know how to delete parts in adobe reader?

 

 

I do appreciate your help on this matter.

0 Likes
Message 18 of 18

Anonymous
Not applicable

thanks you very much , fogger 30 min of trying to look for a solution these is it.

 

thanks again

0 Likes