Selection, Group, Move set by window selection

Selection, Group, Move set by window selection

emreakyazicigsl
Advocate Advocate
1,014 Views
4 Replies
Message 1 of 5

Selection, Group, Move set by window selection

emreakyazicigsl
Advocate
Advocate

Hey everyone, since couple months, i'm working on Excel VBA, in order to process my data and get couple of advantages but in different projects, I always had problem on this step.

 

I try to create a group by coordinates of lines but when zoom window is greater, I always had problem. I tried to add zoom command too but i had to take different parts of locations in drawing while creating group, therefore, this is not an option. I thought that I may move initially and then create groups but in the window selection, I had same problems, when zoom is not enough, system clicks to another item in drawing and crashes eventually. I need to learn window selection with precise location no matter zoom rate or if another item exists near to the selection point, according to zoom rate. 

 

*During video, i wrote

-group create x y (Enter)

17179,1193 17411,1053  (coordinates of window selection)

 

In second case, since there is no other object any close to selection points it worked but I need to apply them with a myriad of cases, therefore the zoom rate and other objects should not affect.

 

The problem is same for move command too.

 

Please help, I'm about to lose my mind. Thanks.

emreakyazicigsl_1-1625856389862.png

 

emreakyazicigsl_0-1625855720242.png

 

0 Likes
Accepted solutions (1)
1,015 Views
4 Replies
Replies (4)
Message 2 of 5

Kent1Cooper
Consultant
Consultant
Accepted solution

@emreakyazicigsl wrote:

.... create groups but in the window selection, I had same problems, when zoom is not enough, system clicks to another item in drawing ....

 

*During video, i wrote

-group create x y (Enter)

17179, 1193 17411,1053  (coordinates of window selection)

....


[It's hard to tell what's happening in the video, without seeing the Command line.]

Try calling explicitly for the Window option before giving the coordinates [which should have no space after the comma]:

 

-group create x y (Enter)

_window 17179,1193 17411,1053  (coordinates of window selection)

 

Then it will know that the first location is to be the corner of a window, and it will not select another item that happens to be within pickbox distance from there.

Kent Cooper, AIA
0 Likes
Message 3 of 5

emreakyazicigsl
Advocate
Advocate

There is no space after comma in my application but in here, I had a mistake. Thank you soooooo much your help, you literally saved my life. I got a following question, if you can help me, it's gonna be amazing day:

 

In these groups, I got blocks with same attribute tags, is there a way to change the "Value" of attribute with a code or command or lisp?

 

0 Likes
Message 4 of 5

Kent1Cooper
Consultant
Consultant

@emreakyazicigsl wrote:

.... I got blocks with same attribute tags, is there a way to change the "Value" of attribute with a code or command or lisp?


I'm sure there is, but I use Attributes so seldom that I'm not a good resource for working with them.  Maybe someone else will jump in, but you could Search for terms like "change Attribute" in the Customization Forum, and will probably find things.

Kent Cooper, AIA
0 Likes
Message 5 of 5

emreakyazicigsl
Advocate
Advocate

Okey, thanks for your help, you literally saved my day. Thank you so so much again.

0 Likes