找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 992|回复: 0

[文章]: hatch某个闭合区域时常常不能一次填满的解决办法

[复制链接]
发表于 2003-11-25 15:32:44 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
这个是有解决办法的,
涉及到一个叫MaxHatch的环境变量,
但是autodesk没有公开这个技术资料。可以参考下面这一段,
解决方法涉及一点autolisp的知识,但很容易看懂。真想知道的话,请耐心看完:

Using the MaxHatch system variable to control hatch density
Issue

You cannot create a hatch pattern of more than 10,000 segments using the defaul
t settings in AutoCAD. The default settings are intended to help you avoid dens
e hatch patterns that might otherwise increase the size of the drawing file and
degrade system performance.

However, the default settings might not be suitable for all situations. For exa
mple, the following error message is displayed when you try to hatch an area wi
th a large number of lines:

Spacing too dense or hatch pattern too small

Solution

The value of the MaxHatch variable determines the maximum number of lines in a
hatched area. AutoCAD stores the MaxHatch system variable in the Windows Regist
ry. You can modify MaxHatch using AutoLISP, if the initial value is not suitabl
e.

Note: If you set the MaxHatch variable to a higher value, the performance of Au
toCAD may be degraded.

Type (getenv "MaxHatch") on the command line. The current value for MaxHatch is
displayed on the command line. The default value is 10000.
Type (setenv "MaxHatch" "100000") on the command line. This sets the MaxHatch t
o 100000. The valid range for MaxHatch is 100 to 10000000.
Note: The name of the variable is case-sensitive. Make sure you type an upperca
se M and H.

注意:MaxHatch是大小写敏感的。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-9-25 12:33 , Processed in 0.399539 second(s), 31 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表