- UID
- 388422
- 积分
- 839
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2006-1-28
- 最后登录
- 1970-1-1
|
发表于 2008-2-14 21:16:22
|
显示全部楼层
;| ssget 帮助:
:N Call ssnamex for additional information on container blocks and transformation matrices for any entities selected during the ssget operation.
This additional information is available only for entities selected via graphical selection methods such as Window, Crossing, and point picks.
Unlike the other object selection methods, :N may return multiple entities with the same entity name in the selection set. For example, if the
user selects a subentity of a complex entity such as a BlockReference, PolygonMesh, or old style polyline, ssget looks at the subentity that is
selected when determining if it has already been selected. However, ssget actually adds the main entity (BlockReference, PolygonMesh, an so on)
to the selection set. The result could be multiple entries with the same entity name in the selection set (each will have different subentity
information for ssnamex to report).
Notes on the Object Selection Methods
When using the :N selection method, if the user selects a subentity of a complex entity such as a BlockReference, PolygonMesh, or old style
polyline, ssget looks at the subentity that is selected when determining if it has already been selected. However, ssget actually adds the main
entity (BlockReference, PolygonMesh, etc.) to the selection set. It is therefore possible to have multiple entries with the same entity name in
the selection set (each will have different subentity information for ssnamex to report). Because the :N method does not guarantee that each
entry will be unique, code that relies on uniqueness should not use selection sets created using this option.
When using the L selection method in an MDI environment, you cannot always count on the last object drawn to remain visible. For example, if
your application draws a line, and the user subsequently minimizes or cascades the AutoCAD drawing window, the line may no longer be visible.
If this occurs, ssget with the "L" option will return nil.
|; |
|