May I move other line when I modify any line ?

May I move other line when I modify any line ?

Anonymous
Not applicable
573 Views
3 Replies
Message 1 of 4

May I move other line when I modify any line ?

Anonymous
Not applicable

Hello everybody,

I have a quesiton.

I draw some line in my drawing page.

but I want to modify them.

For example, when I modify any line, the other lines must move. Also I want to do it with this layer ("lines_layer_name")  . May I do it ?

Thank you everyone  🙂

 

picture 1

22-11-13-soru01.jpg

 

 

picture 2

 

22-11-13-soru02.jpg

 

picture 3

 

22-11-13-soru03.jpg

 

 

0 Likes
574 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

By the series of images, I'm assuming you're looking to mimic the Stretch command.

 

Do you have a specific question about the programming involved?

0 Likes
Message 3 of 4

BlackBox_
Advisor
Advisor

I could be mistaken, but this sounds to be a (more complex?) adaptation of this:

 

http://through-the-interface.typepad.com/through_the_interface/2008/08/anchoring-autoc.html


"How we think determines what we do, and what we do determines what we get."

Sincpac C3D ~ Autodesk Exchange Apps

Message 4 of 4

StephenPreston
Alumni
Alumni

I think I prefer using the Overrule API to this approach, but both have the same problem that the updates don't happen if someone edits the DWG when your app isn't working. You can address that if you setup some geometric constraints between the entities instead. See http://through-the-interface.typepad.com/through_the_interface/2010/12/some-content-from-au-2010.htm... for some examples of both overrules and geometric constraints.

 

 

Cheers,

Stephen Preston
Autodesk Developer Network