Notifications
Clear all

Civil 3D Rotation Question

17 Posts
11 Users
0 Reactions
3 Views
(@bstrand)
Posts: 2272
Registered
Topic starter
 

So one way I like to rotate text in Civil 3D is in the properties window.?ÿ In the Text section of properties there's a rotation box.?ÿ Normally what I do is simply highlight the object I want to rotate and copy and paste a bearing into that box, hit enter, and blammo it's rotated.

The Civil 3D I'm using now doesn't seem to work this way; the rotation box only accepts an azimuth.?ÿ Does anyone know how to change this so it'll read a bearing as well?

 
Posted : 06/10/2022 6:49 am
(@brad-ott)
Posts: 6185
Registered
 

Slightly off question, but I hope this helps lead toward a solution: ?ÿin Carlson IntelliCad I use twisttext command, then align, then choose the text, then choose the line I want it to align to. ?ÿI hope this proves to be more helpful, and less distracting. ?ÿGood luck.

 
Posted : 06/10/2022 6:52 am
(@bstrand)
Posts: 2272
Registered
Topic starter
 

@brad-ott

Yeah, there's the aligntext command in Civil 3D but it feels kind of tedious and slow compared to the way I normally do it.

 
Posted : 06/10/2022 7:03 am
(@rover83)
Posts: 2346
Registered
 

Should be the UNITS command, change the Angle Type to "Surveyor's Units":

image

After that you the Rotation value in the Properties pane will switch to bearings.

 
Posted : 06/10/2022 7:11 am
(@norman-oklahoma)
Posts: 7610
Registered
 

It think that maybe this setting is what you are looking for. Drawing Settings - Toolspace, Settings tab, right click on drawing name,?ÿ select "Edit Drawing Settings"

image

If it works be sure to make the edit to your template or you will be going here with every new drawing.?ÿ

 
Posted : 06/10/2022 7:20 am
(@bstrand)
Posts: 2272
Registered
Topic starter
 

@rover83

Nice, I think this may have nailed it.?ÿ It's being fussy and not recognizing the degree symbol which I could have swore it didn't used to do, but I can't quite remember.?ÿ Anyway, really good lead here, thanks.

 
Posted : 06/10/2022 9:45 am
(@bstrand)
Posts: 2272
Registered
Topic starter
 

@norman-oklahoma

The template was already set to bearings so I don't think this is causing the problem but good idea anyway because it's unlikely I would have looked here.

 
Posted : 06/10/2022 9:47 am
(@richard-germiller)
Posts: 752
Registered
 

Been almost a year since using C3D, and I know Normans on the right track, but I seem to recall that there are multiple places in the settings window that may need to be changed.?ÿ

 
Posted : 06/10/2022 10:09 am
(@antcrook)
Posts: 278
Customer
 

Have you tried using the "torient" command??ÿ

 
Posted : 06/10/2022 10:53 am
(@bstrand)
Posts: 2272
Registered
Topic starter
 

@antcrook

Nope, first I've heard of this one.

 
Posted : 06/10/2022 12:42 pm
(@antcrook)
Posts: 278
Customer
 

Also, when you select the text and then right click, there is an option "Rotation Match". This may only be available if you have the sincpac add-on.

 
Posted : 06/10/2022 7:18 pm
(@squirl)
Posts: 1170
Registered
 
Posted by: @brad-ott

Slightly off question, but I hope this helps lead toward a solution: ?ÿin Carlson IntelliCad I use twisttext command, then align, then choose the text, then choose the line I want it to align to. ?ÿI hope this proves to be more helpful, and less distracting. ?ÿGood luck.

TORIENT works really well for this in C3d

 
Posted : 07/10/2022 5:25 am
(@rover83)
Posts: 2346
Registered
 

I like TORIENT a lot, but it does require manually selecting two points to rotate to.

If you have a line or polyline segment that you want to rotate to, here's a LISP (pulled off CADTutor a while back, I can't take credit for it) that lets you just pick the line segment, then any text objects you want to align to it, then push enter. Faster and easier than selecting two points every time...

Just save the below to .LSP and use "AT1" to invoke.

I still use TORIENT for orienting things to xref objects, since this lisp can't handle xrefs.

;--------------------------------------------------------
;lisp program...............................aligntxt.lsp
;
; aligns text to a line
;
;---------------------------------------------------------
; modified by Alan H to allow plines

(defun c:at1 (/ ent pt1 pt2 ang ss tobj)

(setq ent (entsel "Select line or pline section"))
(setq objname (cdr (assoc 0 (entget (car ent)))))
(if (= objname "LWPOLYLINE")
(progn
(setq pr (vlax-curve-getparamatpoint (car ent) (setq p (vlax-curve-getclosestpointto (car ent) (cadr ent)))))
(setq pt1 (vlax-curve-getpointatparam (car ent) (fix pr)))
(setq pt2 (vlax-curve-getpointatparam (car ent) (1+ (fix pr))))
)
)
(if (= objname "LINE")
(progn
(setq pt1 (cdr (assoc 10 (entget (car ent)))))
(setq pt2 (cdr (assoc 11 (entget (car ent)))))
)
)
(setq ang (angle pt1 pt2))
(setq ss (ssget (list (cons 0 "*text"))))
(repeat (setq x (sslength ss))
(setq tobj (vlax-ename->vla-object (ssname ss (setq x (- x 1)))))
(vla-put-rotation tobj ang)
)

(prompt "n n")
(princ)
)

 
Posted : 07/10/2022 5:57 am
(@dave-o)
Posts: 433
Registered
 

I use lisp for this as well.?ÿ ATL is Align Text to (selected) Line and RTX is Rotate TeXt that lets you selct 2 pts anf the text(s) you want to apply it to.?ÿ Happy to share if you'd like.

 
Posted : 07/10/2022 3:41 pm
(@blitzkriegbob)
Posts: 406
Registered
 
Posted by: @bstrand

@rover83

Nice, I think this may have nailed it.?ÿ It's being fussy and not recognizing the degree symbol which I could have swore it didn't used to do, but I can't quite remember.?ÿ Anyway, really good lead here, thanks.

I don't remember the properties box ever recognizing a degree symbol. It does recognize a "d" for the degrees.

 
Posted : 11/10/2022 6:05 am
(@jim-in-az)
Posts: 3361
Registered
 

@blitzkriegbob?ÿ

Civil 3D 2021 and 2022 both seem to randomly recognize the ?ø symbol - it comes and goes, and I have never figured out why. ALT +248 works sometimes, CTRL +D also works sometimes. Restarting AutoCAD also works sometimes (but not always).

 
Posted : 11/10/2022 6:11 am
(@scottsurveync)
Posts: 1
Registered
 

Have you ever tired the "Rotation Match"? Mine was a default option in my right-click menu when the object/Mtext is selected.

 
Posted : 27/10/2022 4:41 am