Simple doubts....

Simple doubts....

Anonymous
Not applicable
360 Views
3 Replies
Message 1 of 4

Simple doubts....

Anonymous
Not applicable
Hello to all, it would like of an I aid for the solution of two problems, that I believe that are very simple.

1) sset.SelectOnScreen fType, fData
Instead of asking that the user selects, it would like of of using to Select Everything...
But still using the filter...

2 ) If atts(J).textString = ["20,32" .. "38,33"] then
How to write this??
To select everything between 20,32 and 38,33...


Thank you.
Adriano
0 Likes
361 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
For automated slection using your filter, change SelectOnScreen to just
plain ol' Select.

As for converting text to points, I have a StringToPoint VBA routine in the
Visual Basic section of my web site you can use. Hope it helps.

--
Visit AcadXtreme for a chance to win a copy of AutoCAD LT 2000
Contest ends 5/26/00
http://www.acadx.com

"Adriano" wrote in message
news:ef0b4ee.-1@WebX.SaUCah8kaAW...
> Hello to all, it would like of an I aid for the solution of two problems,
that I believe that are very simple.
>
> 1) sset.SelectOnScreen fType, fData
> Instead of asking that the user selects, it would like of of using to
Select Everything...
> But still using the filter...
>
> 2 ) If atts(J).textString = ["20,32" .. "38,33"] then
> How to write this??
> To select everything between 20,32 and 38,33...
>
>
> Thank you.
> Adriano
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
You can't use selection set filters to select block insertions
by attribute values. Select all insertions of the block, then
you will need to manually filter the resulting selection set
by accessing the attributes of each block insertion.

Adriano wrote:
>
> Hello to all, it would like of an I aid for the solution of two problems, that I believe that are very simple.
>
> 1) sset.SelectOnScreen fType, fData
> Instead of asking that the user selects, it would like of of using to Select Everything...
> But still using the filter...
>
> 2 ) If atts(J).textString = ["20,32" .. "38,33"] then
> How to write this??
> To select everything between 20,32 and 38,33...
>
>
> Thank you.
> Adriano

--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.tanzillo@worldnet.att.net */
/* http://www.caddzone.com */
/*********************************************************/
0 Likes
Message 4 of 4

Anonymous
Not applicable
Apparently, I misunderstood your request on the attributes thing. If you
want to select blocks whose attributes match a give value, take a look at
the SelectAttributedBlocks routine in the Visual Basic section of my web
site. SInce youwant to select items in a range, be sure to modify the
routine to use something like a Select Case statement.

--
Visit AcadXtreme for a chance to win a copy of AutoCAD LT 2000
Contest ends 5/26/00
http://www.acadx.com
0 Likes