Jump to content

"matchprop" command with haches problem


MastroLube

Recommended Posts

Hello everyone, I'm trying to "matchprop" some hatches but something gets wrong..

 

The final result isn't as it should be...

 

I've recorded a gif to explain this strange behavior.

https://media.giphy.com/media/l3q2XXfu77U4H06pG/source.gif

This is not the first time that happens, how could I fix that?

 

Thanks, Dennis

 

example.dwg

Link to comment
Share on other sites

Open the Hatch Dialog, by starting the HATCH command, if you wish to use an existing hatch as a reference, select it as shown in the screenshot, then choose one of the Boundaries option, and start clicking away.

Don't select the hatch before starting the MATCHPROP function. Click on the icon, then define your hatch selection by clicking within a hatched area.

Be sure that when you click into the hatch you wish to replicate, that a portion of the linework which makes up the hatch is visible within your PICKBOX, meaning don't click in a void in the hatch pattern.

As shown in your gif, you are attempting to match the hatch properties of a valid hatch into an UNHATCHED area, which by definition has no HATCH PROPERTIES to alter, there's the rub. If another area already is hatched you can do it that way. If it is empty, you cannot.

inherit properties command for hatch.jpg

Link to comment
Share on other sites

Hi! thank for your reply!

 

I wasn't try to matchprop an area without hatch.. it was only the result of a previous attempt to matchprop.. the scale gets alterate after the matchprop.

 

attachment.php?attachmentid=60629&cid=1&stc=1

attachment.php?attachmentid=60630&cid=1&stc=1

attachment.php?attachmentid=60631&cid=1&stc=1

attachment.php?attachmentid=60632&cid=1&stc=1

 

as you can see they all have the same proprieties but they look different.

 

I have to change the scale from 0.8 to 0.03 in order to make them look the same.

attachment.php?attachmentid=60633&cid=1&stc=1

2017-02-14 11_19_17-.jpg

2017-02-14 11_19_42-Autodesk AutoCAD 2017 - [C__Users_Dennis_Desktop_example.dwg].jpg

2017-02-14 11_20_01-Autodesk AutoCAD 2017 - [C__Users_Dennis_Desktop_example.dwg].png

2017-02-14 11_20_20-Autodesk AutoCAD 2017 - [C__Users_Dennis_Desktop_example.dwg].png

2017-02-14 11_23_26-Autodesk AutoCAD 2017 - [C__Users_Dennis_Desktop_example.dwg].png

Link to comment
Share on other sites

Now I understand what you are describing. I hadn't realized that what you were clicking on was a line in the hatch pattern.

How did you apply the hatch in the first place, that they represent differently? That would seem to be the key to, the behavior being demonstrated, which I have never seen before.

Link to comment
Share on other sites

Unfortunately it's not my dwg, I get this drawing from a customer. In the two diagonal walls there was another hatch, I just wanted to uniform them.. but it doesn't work :D

 

I've uploaded the dwg if you want to look to.. I fixed it by changing it to Ansi37 but that's very strange ... :S

Link to comment
Share on other sites

From what I could find it's caused by having the same name of hatch, but one being imperial and the other metric somehow getting into in the same drawing, which if you look at the two hatches in your drawing shows a distance between the hatch lines in one as 0.1 and the other as 2.54 So that sounds plausible. You can get them to match up again by selecting all hatches of that type and in the properties giving them the same scale, but that may need a bit of trial and error to find the correct scale for your drawing, 0.031496 looks perfect. And if you regognise the numbers that is 0.03937*0.8.

Link to comment
Share on other sites

From what I could find it's caused by having the same name of hatch, but one being imperial and the other metric somehow getting into in the same drawing, which if you look at the two hatches in your drawing shows a distance between the hatch lines in one as 0.1 and the other as 2.54 So that sounds plausible. You can get them to match up again by selecting all hatches of that type and in the properties giving them the same scale, but that may need a bit of trial and error to find the correct scale for your drawing, 0.031496 looks perfect. And if you regognise the numbers that is 0.03937*0.8.

 

Good work steven-g, I was thinking/wondering about that while I was out for dinner, you nailed it! :beer:

If you select those two hatches which are different, and change the scale in their properties from0.8 to 0.03149, it all looks good to me!

If one runs the -dwgunits command on the drawing, the units are mms, and those hatches were obviously created with drawing units set to inches.

Edited by Dadgad
Link to comment
Share on other sites

It is actually a problem I recognise seeing myself a few times, I just never really spent much time on it, this reminded me, so did a bit of digging about in that drawing and on the web, and it makes sense. Now next time I come across I'll know the answer

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...