.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need to Restrict block rotation through jigging in autocad c#

1 REPLY 1
Reply
Message 1 of 2
Anonymous
314 Views, 1 Reply

Need to Restrict block rotation through jigging in autocad c#

Anonymous
Not applicable

Hi,

I have Two Ploylines intersection at one point. At That intersection point i need place block and it should jig along with either one polyline or other polyline. I need to place parallel to one polyline or other. 

 

For more information please check attachment.

0 Likes

Need to Restrict block rotation through jigging in autocad c#

Hi,

I have Two Ploylines intersection at one point. At That intersection point i need place block and it should jig along with either one polyline or other polyline. I need to place parallel to one polyline or other. 

 

For more information please check attachment.

1 REPLY 1
Message 2 of 2
norman.yuan
in reply to: Anonymous

norman.yuan
Mentor
Mentor

Moving/rotating entity along a given path with a jig only requires a bit of math calculation in the custom implemented Sampler() method to correctly the entity's position/rotation at given mouse cursor position (likely obtained from JigPrompts.AcquirePoint()).

 

One of my blog articles posted quite a few years back might be of help:

 

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

 

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes

Moving/rotating entity along a given path with a jig only requires a bit of math calculation in the custom implemented Sampler() method to correctly the entity's position/rotation at given mouse cursor position (likely obtained from JigPrompts.AcquirePoint()).

 

One of my blog articles posted quite a few years back might be of help:

 

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

 

 

Norman Yuan

Drive CAD With Code

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report