TheSwamp
Code Red => .NET => Topic started by: heitz15 on September 09, 2016, 02:32:30 PM
-
Hello guys,
I would like to write an code to change automatically the structure label style while moving the mouse. I have set two labels styles: left and right. The label style would be set according the structure position: left style at left structure side and right style at right structure side.
[SEE ATTACHMENT]
Nowadays I need to position it manually and the change the label style property (see the screencast below). But we can have thousands of structures and I would like to do it more dynamically.
SCREENCAST: http://autode.sk/2bKW57x (http://autode.sk/2bKW57x)
So, how can I get the labels move events, change their styles while moving it and show this results also while moving? I already know the code to determine when it should be left or right style but, again, not dynamically.
Thanks a lot,
-
Nothing? :(
-
As was mentioned over on the Autodesk C3D customization board, there is no specific event. Christopher (Civil3dReminders) pointed you to the tools you'd need to use. Here's what I just added to the Sincpac-C3D add on package:
http://autode.sk/2cEfdn1
This was done with those same tools.
-
Jeff,
That is pretty cool.