Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Identify Alignment Movement

alexisgacia
Advocate Advocate
666 Views
4 Replies
Message 1 of 5

Identify Alignment Movement

alexisgacia
Advocate
Advocate

Hi,

 

Good day.

 

Need you help on the project that I working. I'm working on creating an objects that follow on alignment object. When I going to adjust the alignment it follows the objects.

 

I cannot find the right code to be use in C#.

 

What I'm planning is when I create an Alignment I will create a polyline object base on the offset of the alignment. When I going to move or stretch the alignment it will follow the polyline.

 

Thanks in advance.

 

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

hippe013
Advisor
Advisor

Why wouldn't you just use an offset alignment? No need to re-invent the wheel.

Message 3 of 5

essam-salah
Collaborator
Collaborator
Accepted solution

hi @alexisgacia 

have you tried to hook a method to myAlignment.Modefied event? 

0 Likes
Message 4 of 5

alexisgacia
Advocate
Advocate

Never tried yet. How can I check the properties and methods available for the objects? I'm still new in C# and still learning. Thank you. 

0 Likes
Message 5 of 5

alexisgacia
Advocate
Advocate

I already made the alignment offset. But they asked me to use polyline because alignment is heavy. 

0 Likes