Basepoint blockrefence on Rotate instead of Stretch

Basepoint blockrefence on Rotate instead of Stretch

m.bakkerC8KLN
Contributor Contributor
240 Views
2 Replies
Message 1 of 3

Basepoint blockrefence on Rotate instead of Stretch

m.bakkerC8KLN
Contributor
Contributor

I want to change the base grip of a blockrefence on rotate instead of stretch when you click on the grippoint. Anyone knows how to do this with CSharp c#

0 Likes
241 Views
2 Replies
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor

I assume you only want the grip of certain block reference (usually at the block reference's insertion point) to behave that way, not all references of any block. So, basically, you need to use Overrule, specifically, GridOverrule, which is quite complicated coding adventure. With that said, I wonder why not simply make this block a rotation dynamic property instead of reinventing your own not-so-round wheel?

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 3

essam-salah
Collaborator
Collaborator

@norman.yuan wrote:

 I wonder why not simply make this block a rotation dynamic property instead of reinventing your own not-so-round wheel?

 


yes same question came to my mind, why just we use Dynamic blocks instead.

0 Likes