Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Need to Restrict block rotation through jigging in autocad c#

Anonymous

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
Reply
339 Views
1 Reply
Reply (1)

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