Ssget exe


















This option is supported only with interactive selections, such as window, crossing, and polygon. It is not supported for all, filtered, or group selections. Treats all interactive, graphic selections performed by the user as subentity selections.

The returned selection set contains subentities only. This option cannot be combined with the duplicate ":D" or nested ":N" selection modes. This option is supported only with interactive selections, such as window and crossing. Type: List.

A point relative to the selection. A list of points. An association list that specifies object properties. Objects that match the filter-list are added to the selection set. Type: Pickset selection set or nil. The name of the created selection set if successful; otherwise nil if no objects were selected. Selection sets can contain objects from both paper and model space, but when the selection set is used in an operation, ssget filters out objects from the space not currently in effect.

Selection sets returned by ssget contain main entities only no attributes or polyline vertices. If you omit all arguments, ssget prompts the user with the Select Objects prompt, allowing interactive construction of a selection set. If you supply a point but do not specify an object selection method, AutoCAD assumes the user is selecting an object by picking a single point.

Prompt the user to select the objects to be placed in a selection set:. Create a selection set of the object passing through 2,2 :. Create a selection set of the most recently selected objects:. Create a selection set of the objects crossing the box from 0,0 to 1,1 :. Create a selection set of the objects inside the window from 0,0 :.

By specifying filters, you can obtain a selection set that includes all objects of a given type, on a given layer, or of a given color. The following examples of ssget require that a list of points be passed to the function. The CP is for crossing polygon. The power of ssget comes from the incredibly fast filtering that it performs.

Can you imagine having to evaluate an entire database of entities and manually filter out all the circles whose radius is less than 1. Example below. Then we are passing it two points 5,5 and 8,8. Then we are telling it to only accept circle entities. The last two pieces tell it to only accept circles whose radius DXF code 40 is less than 1.

So in summary, this bit of code will search the entire database and return only circles whose radius is less than 1. The -4 group code is a special code that lets you perform relational testing. There are codes for equal, not equal, less than, less than or equal, greater than, greater than or equal, and two bitwise operators. This option is supported only with interactive selections, such as window, crossing, and polygon.

It is not supported for all, filtered, or group selections. The returned selection set contains subentities only. This option cannot be combined with the duplicate ":D" or nested ":N" selection modes.

This option is supported only with interactive selections, such as window and crossing. Window [automated] [documented]. Selects all text objects residing entirely inside the rectangle with vertices at 3,2 , 5,2 , 5,4 and 3,4.

Window Polygon [automated] [documented]. Selects objects completely inside a polygon defined by a list of points. Selects all arcs with radius 1. Extended search Entire Drawing Database [automated] [documented]. Example: ssget ' 0. Select lines with start point passing through 1.

Select text with alignment point with Y-coordinate less than or equal to Select points with X-coordinate less than 5. Select Polylines with either curve-fit 2 or spline-fit 4 vertices added. Since the ssget filter list has an implied AND operator matching all supplied items , this operator is mostly used in conjunction with other logical operators to form compound filters.

Example: ssget ' Selects arcs with radius 1. Selects text objects with text height of 1. Selects text with text height of 1. The objects and subobjects most recently selected become the selection set. Previously selected objects and subobjects are removed from the selection set. Each object and subobject selected, either individually or by windowing, is added to the current selection set. Draws a selection window for either a window or a crossing selection automatically at the Select Objects prompt when the user clicks in an empty drawing area.

Below you will find various links to existing documentation referencing the ssget function. Selection Set Manipulation Functions Reference. Home Programs Tutorials Contact About. The following relational operators are only valid for use with groups containing integer or real values; the bitwise operators are limited to integer values only.

Use wildcard patterns for testing strings. Forces 'point' selection: clicking in empty drawing space will not open a selection window.

Click the pointing device at one corner, and then click to select another corner. Click one corner and drag the pointing device, release the button at the other corner. All [automated] [undocumented] Similar to the "X" mode string but excludes objects on frozen layers.

This mode string cannot be combined with graphical selection mode strings. Box [automated] [undocumented] Selects all objects inside or crossing a rectangle specified by two points. Allow Duplicates [user selection] [undocumented] Includes duplicate selected entities in the selection, else duplicates are ignored. Everything within Aperture [user selection] [documented] Allows selection of everything within the cursor's object selection pickbox.

Fence [automated] [documented] Selects all objects crossing a selection fence. Groups [automated] [undocumented] Selects all objects within a specified group.



0コメント

  • 1000 / 1000