AutoCAD 2022: Copying the entire drawing and pasting it to a new file gets some hatches disappeared,

AutoCAD 2022: Copying the entire drawing and pasting it to a new file gets some hatches disappeared,

JamaL9722060
Collaborator Collaborator
1,891 Views
13 Replies
Message 1 of 14

AutoCAD 2022: Copying the entire drawing and pasting it to a new file gets some hatches disappeared,

JamaL9722060
Collaborator
Collaborator

AutoCAD 2022: Copying the entire drawing and pasting it to a new file gets some hatches disappeared,

 

For example, in the screenshot below, as the entire drawing is copied and pasted to a new file, the indicated hatch (color number 143) disappears.

 

What could be the issue here?

 

The file is attached

 

Clip_94.jpgClip_95.jpg

 

 

 

Clip_96.jpg

 

 

 

 

---------------------------
Jamal Numan
0 Likes
Accepted solutions (2)
1,892 Views
13 Replies
Replies (13)
Message 2 of 14

fatal.error
Advocate
Advocate
Accepted solution

Perchance, are the red solid hatches set as Associative, and their boundaries (polylines or regions) located in any Freezed or Locked layer?

 

Please attach the original file to replicate the issue.

 

 

Message 3 of 14

pendean
Community Legend
Community Legend
Accepted solution
SAVEAS command to create a new drawing is the better way to create a new file from existing content: WBLOCK command is the other method.
Message 4 of 14

JamaL9722060
Collaborator
Collaborator

Thank you for the input.

 

The dwg file is attached

 

Clip_104.jpg

 

 

---------------------------
Jamal Numan
0 Likes
Message 5 of 14

fatal.error
Advocate
Advocate

Have you tried typing REA to Regen All after pasting into a new drawing?

 

After pasting without Regen All:

01.png

 

After pasting with Regen All:

Screenshot 2022-02-25 180142.png

 

 

Message 6 of 14

cadffm
Consultant
Consultant

>>"hatches disappeared,"

No, alle hatchs are there - you have a DRAWORDER issue.

Fatal.error mentioned REGEN and if it doesn't help, tell us your Productversion

(Screenshot of dialog, command: ABOUT)

 

Q: Is "W1.dwg" you result / your target file where you pasted in?

Then we are right.

Sebastian

Message 7 of 14

cadffm
Consultant
Consultant

Hi,

 

if I am right, ACAD2022 shouldn't have problems with  draworder,

for me it looks like your hardware acceleration is turnd OFF ?

 

If it is:

Turn it on, and try it again!

Sebastian

Message 8 of 14

JamaL9722060
Collaborator
Collaborator

Please, try the dwg file (K1.dwg) attached to the first post to replicate the issue. If the entire drawing is selected, copied and pasted to a new file, then the indicated hatch should disappear

 

Clip_108.jpg

 

 

---------------------------
Jamal Numan
0 Likes
Message 9 of 14

fatal.error
Advocate
Advocate

I could not replicate the issue.

I've just selected all the drawing elements with CTRL+A or Cross Polygon methods.

Copied the selection with copyclip (CTRL+C) or copybase (CTRL+SHIFT+C) methods.

Pasted them with pasteclip (CTRL+V) or pasteorig (CTRL+SHIFT+V) methods,

on both acad.dwt or acadiso.dwt blank drawings.

Everything looks just fine (sometimes a Regen All is needed).

 

Have you tried WBLOCK as @pendean mentioned? Do you get the same issue?

 

Have you Sended to Back the red hatch where the missing color 143 should be as @cadffm mentioned?

 

 

Message 10 of 14

JamaL9722060
Collaborator
Collaborator

I’ve recorded what I got as I copy and paste. I would appreciate if could have a look

 

 

---------------------------
Jamal Numan
0 Likes
Message 11 of 14

cadffm
Consultant
Consultant

Hi,

you are online, perfect - I will try to explain the issue in this case.

 

1. AutoCAD detects some errors with 23 boundary objects

   (Open file by RECOVER command, hit [F2])

   Yes, you can do nothing and you can't change that at first, but it's good to know.
   I also recommend solving bugs that you know.

   (recover / audit and fix what is to fix)

 

2. The hatch is still there (you can see they are 402 objects)

   and visible, but not in expected shape.

 

I've been thinking for a long time how I can show you the thing and
think I found a way.

 

3. Go into K1.dwg

    Copy this hatch to the side,

     -you can see one enclosed  island-

    select it and use hatchgenerateboundary, delete the hatch

     -you can see 2 polylines, one for the outer boundary, one for the island-

 

And now I will show you the data error of this hatch object!

 

Your current pickstyle is set to select associated hatchs only (without there assoc.boundaries),

turn on your assoc-Hatch pickstyle now, please.

 (type in PICKSTYLE and change the <current value> to <current value + 2>, means from 0 to 2, or from 1 to 3)

With Pickstyle 1 or 3 you select assoc.hatchs incl. there boundary object.

 

Pick the hatch in K1.dwg, and see the grips, also the information in properties palette!

You can see: Just ONE Polyline (the one of the island)

And that's it!

 

The hatch shape you can see doesn't match the information about there associated boundary objects!

corrupt data..

 

And now, back to your result (pasteorig the hatchs into the other file) and take a look here:

 

CADffm_0-1645915755920.png

 

And if you force a recalculation of this hatch in K1.dwg, you can see the problem in K1.dwg without copy/paste too!

Select the hatch. click the grip to make the grip hot and drag the point to...the same point!

After this step, the hatch/data is fixed, looks different to what you want, but the data is right now.

 

 

SideNote: I reproduced the issue with PASTEORIG, but not with PASTECLIP

Workaround would be: Use copyBASE instead of copyclip  and basepoint 0,0,0

use pasteclip 0,0,0 instead of pasteorig.

But again: If you go this workaround, the hatch looks fine, but there is still a data problem!!

I case of "fail" (your way with pasteorig) , the hatch shape is the right then!

Hatch data matchs hatch shape then.

Sebastian

Message 12 of 14

RobDraw
Mentor
Mentor

Copy/paste is not the best way to accomplish this task. Whether or not it is the cause of your problem is questionable but why not eliminate it as the cause by using one of the several other much more preferred ways of getting that much data from one file to another?


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
Message 13 of 14

JamaL9722060
Collaborator
Collaborator

 

The solution introduced by “fatal.error” and “pendean” works fine with me.

 

  • To set the “associative” option to be “No” (my preference)
  • To export the drawing with the “export” tool as dwg file

 

Clip_136.jpgClip_137.jpgClip_138.jpg

---------------------------
Jamal Numan
0 Likes
Message 14 of 14

RobDraw
Mentor
Mentor

You're welcome.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.