Identify Alignment Movement

alexisgacia
Advocate

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
Reply
Accepted solutions (1)
648 Views
4 Replies
Replies (4)

hippe013
Advisor
Advisor

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

essam-salah
Collaborator
Collaborator
Accepted solution

hi @alexisgacia 

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

0 Likes

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

alexisgacia
Advocate
Advocate

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

0 Likes