Jump to content

Autocad project I’m working is being overloaded objects


goforhenry

Recommended Posts

If using a hatch is to be considered, I thought to post a few hatches that might even be useful. My first effort was based on the pattern starting at 0,0, but see that the pattern should start at 0.002, 0.002 to give an edge. So I rewrote the definition and scaled it by 10 and 100 times as well as the proper scaling.

 

The first line of each definition is the file name that it should be saved as, and the picture is how it all starts at the bottom left hand corner.

 

SBx1.pat


*SBx1, small boxes start at 0.002,0.002 and scaled by 1 
0,0.002,0.002,0,0.002,0.002,-0.002
90,0.002,0.002,0,0.002,0.002,-0.002
*

 

SBx10.pat


*SBx10, small boxes start at 0.02,0.02 and scaled by 10 
0,0.02,0.02,0,0.02,0.02,-0.02
90,0.02,0.02,0,0.02,0.02,-0.02
*

 

SBx100.pat


*SBx100, small boxes start at 0.2,0.2 and scaled by 100 
0,0.2,0.2,0,0.2,0.2,-0.2
90,0.2,0.2,0,0.2,0.2,-0.2

*

 


 

Small boxes.PNG

Link to comment
Share on other sites

On 7/2/2023 at 5:55 AM, eldon said:

If using a hatch is to be considered, I thought to post a few hatches that might even be useful. My first effort was based on the pattern starting at 0,0, but see that the pattern should start at 0.002, 0.002 to give an edge. So I rewrote the definition and scaled it by 10 and 100 times as well as the proper scaling.

 

The first line of each definition is the file name that it should be saved as, and the picture is how it all starts at the bottom left hand corner.

 

SBx1.pat


*SBx1, small boxes start at 0.002,0.002 and scaled by 1 
0,0.002,0.002,0,0.002,0.002,-0.002
90,0.002,0.002,0,0.002,0.002,-0.002
*

 

SBx10.pat


*SBx10, small boxes start at 0.02,0.02 and scaled by 10 
0,0.02,0.02,0,0.02,0.02,-0.02
90,0.02,0.02,0,0.02,0.02,-0.02
*

 

SBx100.pat


*SBx100, small boxes start at 0.2,0.2 and scaled by 100 
0,0.2,0.2,0,0.2,0.2,-0.2
90,0.2,0.2,0,0.2,0.2,-0.2

*

 


 

Small boxes.PNG

I am able to use the hatch pattern but Im starting to have trouble when it comes to scaling down the blocks. At first I tried to use the SBx1.pat you posted but for some reason autocad refused to do anything. I then moved onto using the SBx100.pat pattern and as I began scaling it down to .001 what shows up on my screen is a white pattern but as I zoom into it, it completely disappears and I cant see the pattern. I did create another custom hatch pattern that just consisted of straight lines and I was able to scale it down to .001 and lower and when I zoomed into I was able to make out the individual lines. I think that autocad is having an easier time making out the lines instead of the blocks. I posted some pictures below (block pattern on left, line pattern on right). if there is anyway to fix this I would gladly appreciate it

10.PNG

12.PNG

13.PNG

Link to comment
Share on other sites

I am afraid that I cannot offer any further help. My feeling is that AutoCAD is being overloaded by so many lines in such a small space. Maybe, it makes for confusion of the pixels making up the display. As it is the screen display that seems to call a halt on matters, perhaps AutoCAD is not ready at the moment for your project.

 

I managed a hatch at 10 times the scale, but I could not get it to scale down to your required size.

Link to comment
Share on other sites

You might be in luck. There is an environment variable MaxHatch which defaults to 10,000. You should be able to set this up to 10,000,000 by using setenv.

 

If you manage to do this, then you should manage to hatch in your required pattern.

 

I cannot help you further because my AutoCAD is too old to know about these things.

Link to comment
Share on other sites

On further investigation, I found out that MaxHatch was available from R14.

 

So I typed (setenv"MaxHatch""10000000") into the command line. Started Hatching the 11.97 by 11.97 rectangle with the hatch pattern SBx1 and did not get a message about the hatch being too dense. I then left the machine busy hatching and came back in 15 minutes to a message that AutoCAD had run out of memory and was shutting down. See if you get any different.

 

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...