请教一个问题
请教各位:getEntity是拾取实体,能用来拾取线吗?如果不能,需要用什么命令呀?谢谢!! <P class=h2-pop>All Drawing Objects<P class=body-pop>All of these objects can be defined as an AcadEntity object.
<TABLE cellSpacing=1 cellPadding=4 border=0>
<TBODY>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_3dface_object.htm" target="_blank" >3DFace</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_3dpoly_object.htm" target="_blank" >3DPolyline </A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_3dsolid_object.htm" target="_blank" >3DSolid</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_arc_object.htm" target="_blank" >Arc</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_attribute_object.htm" target="_blank" >Attribute</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_attributeref_object.htm" target="_blank" >AttributeReference</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_blockref_object.htm" target="_blank" >BlockRef</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_circle_object.htm" target="_blank" >Circle</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_dim3pointangular_object.htm" target="_blank" >Dim3PointAngular</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_dimaligned_object.htm" target="_blank" >DimAligned</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_dimangular_object.htm" target="_blank" >DimAngular</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_dimdiametric_object.htm" target="_blank" >DimDiametric</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_dimordinate_object.htm" target="_blank" >DimOrdinate</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_dimradial_object.htm" target="_blank" >DimRadial</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_dimrotated_object.htm" target="_blank" >DimRotated</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_ellipse_object.htm" target="_blank" >Ellipse</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_externalreference_object.htm" target="_blank" >ExternalReference</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_hatch_object.htm" target="_blank" >Hatch</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_leader_object.htm" target="_blank" >Leader</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_lightweightpolyline_object.htm" target="_blank" >LightweightPolyline</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_line_object.htm" target="_blank" >Line</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_minsertblock_object.htm" target="_blank" >MInsertBlock</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_mline_object.htm" target="_blank" >MLine</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_mtext_object.htm" target="_blank" >MText</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_point_object.htm" target="_blank" >Point</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_polyfacemesh_object.htm" target="_blank" >PolyfaceMesh</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_polygonmesh_object.htm" target="_blank" >PolygonMesh</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_polyline_object.htm" target="_blank" >Polyline</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_pviewport_object.htm" target="_blank" >PViewport</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_raster_object.htm" target="_blank" >Raster</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_ray_object.htm" target="_blank" >Ray</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_region_object.htm" target="_blank" >Region</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_shape_object.htm" target="_blank" >Shape</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_solid_object.htm" target="_blank" >Solid</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_spline_object.htm" target="_blank" >Spline</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_text_object.htm" target="_blank" >Text</A> </TD></TR>
<TR vAlign=top>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_tolerance_object.htm" target="_blank" >Tolerance</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_trace_object.htm" target="_blank" >Trace</A> </TD>
<TD><A href="mk:@MSITStore:D:\Program%20Files\AutoCAD%202004\help\acadauto.chm::/idh_xline_object.htm" target="_blank" >XLine </A></TD></TR></TBODY></TABLE></P>
<P>这里面似乎就有你要的东西。这些是帮助里的内容。要学会看帮助。</P>
页:
[1]