AddRegion方法的参数是实体数组,返回值是也是是实体数组
Signature
RetVal = object.AddRegion(ObjectList)
Object
MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_modelspace_collection.htm" target="_blank" >ModelSpace Collection, MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_paperspace_collection.htm" target="_blank" >PaperSpace Collection, MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_block_object.htm" target="_blank" >Block The object or objects this method applies to.
ObjectList
Array of Objects The array of objects forming the closed coplanar face to be made into a region. This array may contain the following object types: MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_line_object.htm" target="_blank" >Line, MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_arc_object.htm" target="_blank" >Arc, MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_circle_object.htm" target="_blank" >Circle, MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_ellipse_object.htm" target="_blank" >Elliptical Arc, MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_lightweightpolyline_object.htm" target="_blank" >LightweightPolyline, MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_spline_object.htm" target="_blank" >Spline.
RetVal
Variant This method outputs an array of the newly created MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_region_object.htm" target="_blank" >Region objects. |