move multiple objects

move multiple objects

Anonymous
Not applicable
298 Views
1 Reply
Message 1 of 2

move multiple objects

Anonymous
Not applicable
I am trying to select all and move to 0,0 using VB. The move command only applies to Circles, Lines, etc but not to a SelectionSet. CopyObjects might work but I can't figure out how to relocate them. Any ideas?

TIA, Mike
0 Likes
299 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
griebmj had this to say:

> I am trying to select all and move to 0,0 using VB. The move
> command only applies to Circles, Lines, etc but not to a
> SelectionSet. CopyObjects might work but I can't figure out how to
> relocate them. Any ideas?
> TIA, Mike

The Move method applies to all drawing objects since they are derived
from AcadEntity:

Dim ent As AcadEntity

For Each ent In mySS
ent.Move pt1, pt2
Next

--
http://www.acadx.com
0 Likes