VisualLisp Command to Get/Put Rotation on MLeader

VisualLisp Command to Get/Put Rotation on MLeader

ebsoares
Collaborator Collaborator
4,039 Views
20 Replies
Message 1 of 21

VisualLisp Command to Get/Put Rotation on MLeader

ebsoares
Collaborator
Collaborator

Hi, all.

 

From what I understand, vla-get-rotation and vla-put-rotation respectively read and write the "rotation" property of blocks, text, and mtext. But for some reason it does not work for MLeaders...

 

I'm looking for the vla-* code (if it exists) that can change the rotation property of MLeaders.

 

 

Any tip is highly appreciated.

 

Edgar

0 Likes
Accepted solutions (2)
4,040 Views
20 Replies
Replies (20)
Message 21 of 21

ebsoares
Collaborator
Collaborator

Hi, @kommu_aseervadam. If you are looking to simply set all your text rotation values to be the same across your selection (such as setting them all to "0" degrees rotation), you might be better off simply using your properties palette - simply select all your text elements (or mleaders, mtext, etc), look for the "rotation" property in the palette, and set it to whatever angle you need.

 

Note: This thread is really old, and the main topic is to add angle to existing rotation property (which is different than setting all selection elements to the same angle). If the above doesn't really do what you need, it might be easier to start a new post. That should help you get answers faster and is easier for future folks looking for the same thing as you.

 

All the best,

 

Edgar

0 Likes