Inserting a UCS angle value

Inserting a UCS angle value

Anonymous
Not applicable
422 Views
1 Reply
Message 1 of 2

Inserting a UCS angle value

Anonymous
Not applicable

Hello everyone,

 

I want to create a text which holds a specific alignment of X angle on UCS axis. Basically I am rotating my view regularly and I want it to understand to always rotate e.g. 45 degrees on my current and not world view. My code as of now is:

 

(setq gwnia (getint "\n Specify angle: "))

.......

(command "mtext" shelfnamep "j" "tc" "s" "driverstyle" "r" gwnia "w" "0.8" shelfname "" )

I thought about the trans function, but it says it works on points. Basically I don't even need to ask for the user input of the angle at the start of my code, I will always have a fixed 45 degrees on the text that pops up based on my current view.

 

 

 

0 Likes
Accepted solutions (1)
423 Views
1 Reply
Reply (1)
Message 2 of 2

RobDraw
Mentor
Mentor
Accepted solution

You should post this question here.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes