几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(AutoLISP) (http://www.dimcax.com/hust/forumdisplay.php?f=178)
-   -   菜鸟求助_阴影问题 (http://www.dimcax.com/hust/showthread.php?t=12535)

yang686526 2009-04-27 12:13 PM

菜鸟求助_阴影问题
 
菜鸟求助_阴影问题
www.dimcax.com
菜鸟求助_阴影问题
dim outerloop(0 to 0) as acadentity
set outerloop(0) = thisdrawing.modelspace.addlightweightpolyline(bb)
'填充封口处()
dim hatchobj as acadhatch
dim patternname as string '填充图案名
dim patternscale as double '填充图案比例
dim patterntype as long
dim associativity as boolean
associativity = true
patterntype = 0
patternname = "ar-conc"
patternscale = 0.02
set hatchobj = thisdrawing.modelspace.addhatch(patterntype, patternname, associativity)
hatchobj.appendouterloop (outerloop)
hatchobj.evaluate
thisdrawing.regen true
如果patternname="ansi31"就可以通过,为什么patternname = "ar-conc"就出现输出不确定的错误呢?


所有的时间均为北京时间。 现在的时间是 07:07 PM.