flip sketched symbol

flip sketched symbol

Ralf_Krieg
Advisor Advisor
308 Views
1 Reply
Message 1 of 2

flip sketched symbol

Ralf_Krieg
Advisor
Advisor

Hello

 

I want to create a sketched symbol with VB similar to the built in weldment symbol. If the weldment symbol changes direction from right to left side of leader, the symbol flips. Can you tell me how to mimic this behavior?

 

Symbol_switch.jpg


R. Krieg
RKW Solutions
www.rkw-solutions.com
0 Likes
309 Views
1 Reply
Reply (1)
Message 2 of 2

philippe.leefsma
Alumni
Alumni

Hi There,

 

Sorry, I don't see a way to achieve this behavior directly. One suggestion would be to monitor document changes, using "DocumentEvents.OnChange" maybe, then if the symbol has moved, determine which side of the leader it is. I don't think it is possible to have a symbol that contains multiple representations, so most likely you would need to have two versions and replace it with the right or left version.

 

I hope it helps.

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

0 Likes