How to restrict block movement along a polyline ?

How to restrict block movement along a polyline ?

Anonymous
Not applicable
1,095 Views
3 Replies
Message 1 of 4

How to restrict block movement along a polyline ?

Anonymous
Not applicable

I need to allow user to place a block with text on top of a polyline. User can place block only along the line not anywhere else.

 

Kindly let me know if you need any further details. 

0 Likes
Accepted solutions (1)
1,096 Views
3 Replies
Replies (3)
Message 2 of 4

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

using parametric/constraints would solve that without any development ...

 

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 4

Anonymous
Not applicable

Dear Alfred,

 

Thank you so much for your response .

 

But my requirement is to control  block movement programmatically in c#.net.I need  classes or methods in 

autocad dotnet api to add the constraints via code.

 

Thanks,

Raghu.

 

0 Likes
Message 4 of 4

norman.yuan
Mentor
Mentor
Accepted solution

Since you are looking for code solution, one of my articles posted quite a while ago might be what you want, or at least gives some idea what/how the code can do:

 

https://drive-cad-with-code.blogspot.com/2012/03/moving-entity-along-curve.html

 

 

Norman Yuan

Drive CAD With Code

EESignature