• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Civil 3D

    Reply
    *Wade

    North rotation...

    85 Views, 15 Replies
    12-28-2004 12:01 PM
    Is there any way to change the North rotation of a drawing without selecting a zone (and then changing the Transformation settings) - like we could in LDD? For example if I have a north/south street and I want to rotate it so North is to the right, can I do this in Civil 3D? Thanks in advance.
    Please use plain text.
    *wfb

    Re: North rotation...

    12-28-2004 01:11 PM in reply to: *Wade
    Not like in LDD. You rotate the drawing in paper space and labels rotate "appropriately". (According to the pro-mo.) wfb "Wade" wrote in message news:41d1ba60_3@newsprd01... > Is there any way to change the North rotation of a drawing without > selecting > a zone (and then changing the Transformation settings) - like we could in > LDD? For example if I have a north/south street and I want to rotate it > so > North is to the right, can I do this in Civil 3D? > > Thanks in advance. > >
    Please use plain text.
    *Don Reichle

    Re: North rotation...

    12-28-2004 06:29 PM in reply to: *Wade
    Gentlemen (and any Ladies perusing the thread); I used this in the LDT DG today, might as well share it here also. How about a simple DVIEW Twist Lisp routine? (Say that several times in succession!) [Lisp code] ; simple dview twist - (c) 2003 David Draeger ; Zoom and View commands added by Don Reichle (defun c:dvtw (/ cmde twa sna) (princ "Pick direction points or enter angle:") (setq twa (getangle)) (setq sna twa) (setq twa (angtos twa (getvar "aunits"))) (setq twa (strcat "-" twa)) (command "dview" "" "tw" twa "") (setvar "snapang" sna) (command "zoom" "e") (command "view" "save" "view") (setvar "cmdecho" cmde) (princ) ) [Lisp code] You can pick the points on-screen (i.e. Midpoint & Endpoint of longest tangent of street centerline or boundary line), or simply enter the angle you want - positive or negative, it doesn't care. HTH -- Don Reichle "King Of Work-Arounds" Barghausen Consulting Engineers Kent, WA USA LDT3 - SP1/CD3 - SP1 On WIN2K SP4 Dell 1.6 Ghz P4 512MB RAM NVIDIA 32MB AGP "wfb" wrote in message news:41d1cc11$1_2@newsprd01... > Not like in LDD. You rotate the drawing in paper space and labels rotate > "appropriately". (According to the pro-mo.) > > wfb > > "Wade" wrote in message > news:41d1ba60_3@newsprd01... > > Is there any way to change the North rotation of a drawing without > > selecting > > a zone (and then changing the Transformation settings) - like we could in > > LDD? For example if I have a north/south street and I want to rotate it > > so > > North is to the right, can I do this in Civil 3D? > > > > Thanks in advance. > > > > > >
    Please use plain text.
    *wfb

    Re: North rotation...

    12-29-2004 06:20 AM in reply to: *Wade
    Don: If I remember correctly, you don't have access to Civil3D. I need for someone that does to check this routine out. It doesn't appear to be working correctly. At least not for me. It does the "twist" OK, but doesn't want to go back. Bill Civil 3D 2005 Win XP Pro SP2 P4- 3Ghz 1 MB Dual Monitors "Don Reichle" wrote in message news:41d216e3_3@newsprd01... > Gentlemen (and any Ladies perusing the thread); > > I used this in the LDT DG today, might as well share it here also. > > How about a simple DVIEW Twist Lisp routine? (Say that several times in > succession!) > [Lisp code] > ; simple dview twist - (c) 2003 David Draeger > ; Zoom and View commands added by Don Reichle > > (defun c:dvtw (/ cmde twa sna) > > (princ "Pick direction points or enter angle:") > (setq twa (getangle)) > (setq sna twa) > (setq twa (angtos twa (getvar "aunits"))) > (setq twa (strcat "-" twa)) > > (command "dview" "" "tw" twa "") > (setvar "snapang" sna) > (command "zoom" "e") > (command "view" "save" "view") > > (setvar "cmdecho" cmde) > (princ) > ) > > [Lisp code] > > You can pick the points on-screen (i.e. Midpoint & Endpoint of longest > tangent of street centerline or boundary line), or simply enter the angle > you want - positive or negative, it doesn't care. > > HTH > > -- > Don Reichle > "King Of Work-Arounds" > Barghausen Consulting Engineers > Kent, WA USA > LDT3 - SP1/CD3 - SP1 > On WIN2K SP4 > Dell 1.6 Ghz P4 > 512MB RAM > NVIDIA 32MB AGP > > >
    Please use plain text.
    *Don Reichle

    Re: North rotation...

    12-29-2004 08:31 AM in reply to: *Wade
    Hey Bill; It will help the brave soul that attempts to recreate the problem if you could define "go back". And you're correct... still in the holding pattern for C3D. -- Don Reichle "King Of Work-Arounds" Barghausen Consulting Engineers Kent, WA USA LDT3 - SP1/CD3 - SP1 On WIN2K SP4 Dell 1.6 Ghz P4 512MB RAM NVIDIA 32MB AGP "wfb" wrote in message news:41d2bd42$1_3@newsprd01... > Don: > If I remember correctly, you don't have access to Civil3D. I need for > someone that does to check this routine out. It doesn't appear to be > working correctly. At least not for me. It does the "twist" OK, but > doesn't want to go back. > > Bill > Civil 3D 2005 > Win XP Pro SP2 > P4- 3Ghz > 1 MB > Dual Monitors > > "Don Reichle" wrote in message > news:41d216e3_3@newsprd01... > > Gentlemen (and any Ladies perusing the thread); > > > > I used this in the LDT DG today, might as well share it here also. > > > > How about a simple DVIEW Twist Lisp routine? (Say that several times in > > succession!) > > [Lisp code] > > ; simple dview twist - (c) 2003 David Draeger > > ; Zoom and View commands added by Don Reichle > > > > (defun c:dvtw (/ cmde twa sna) > > > > (princ "Pick direction points or enter angle:") > > (setq twa (getangle)) > > (setq sna twa) > > (setq twa (angtos twa (getvar "aunits"))) > > (setq twa (strcat "-" twa)) > > > > (command "dview" "" "tw" twa "") > > (setvar "snapang" sna) > > (command "zoom" "e") > > (command "view" "save" "view") > > > > (setvar "cmdecho" cmde) > > (princ) > > ) > > > > [Lisp code] > > > > You can pick the points on-screen (i.e. Midpoint & Endpoint of longest > > tangent of street centerline or boundary line), or simply enter the angle > > you want - positive or negative, it doesn't care. > > > > HTH > > > > -- > > Don Reichle > > "King Of Work-Arounds" > > Barghausen Consulting Engineers > > Kent, WA USA > > LDT3 - SP1/CD3 - SP1 > > On WIN2K SP4 > > Dell 1.6 Ghz P4 > > 512MB RAM > > NVIDIA 32MB AGP > > > > > > > >
    Please use plain text.
    *wfb

    Re: North rotation...

    12-29-2004 10:04 AM in reply to: *Wade
    Don: "Go back" in my case is to the same view prior to running the lisp. It may be just me since I have very rarely used dview twist. I always use a rotated UCS, make a "view" of the rotation, immediately return to World UCS. Bill "Don Reichle" wrote in message news:41d2dc3a$1_1@newsprd01... > Hey Bill; > > It will help the brave soul that attempts to recreate the problem if you > could define "go back". > > And you're correct... still in the holding pattern for C3D. > > -- > Don Reichle > "King Of Work-Arounds" > Barghausen Consulting Engineers > Kent, WA USA > LDT3 - SP1/CD3 - SP1 > On WIN2K SP4 > Dell 1.6 Ghz P4 > 512MB RAM > NVIDIA 32MB AGP > > > "wfb" wrote in message > news:41d2bd42$1_3@newsprd01... > > Don: > > If I remember correctly, you don't have access to Civil3D. I need for > > someone that does to check this routine out. It doesn't appear to be > > working correctly. At least not for me. It does the "twist" OK, but > > doesn't want to go back. > > > > Bill > > Civil 3D 2005 > > Win XP Pro SP2 > > P4- 3Ghz > > 1 MB > > Dual Monitors > > > >
    Please use plain text.
    *Don Reichle

    Re: North rotation...

    12-29-2004 10:59 AM in reply to: *Wade
    Hey Bill; A little clarification may be in order, especially since you are working in virgin territory here. I run this lisp from the Layout tab with the Viewport in question active, not the Model tab. That way it has no effect on Model Space, other than when viewed from the Plotting aspect. So there's no "back" in that situation. Though for ease of working, I generally end up twisting any base DWGs to the same rotation as the Plot sheet, unless there are more than one twist involved. I got used to working on small projects for a while in the recent past. -- Don Reichle "King Of Work-Arounds" Barghausen Consulting Engineers Kent, WA USA LDT3 - SP1/CD3 - SP1 On WIN2K SP4 Dell 1.6 Ghz P4 512MB RAM NVIDIA 32MB AGP "wfb" wrote in message news:41d2f1a1$1_1@newsprd01... > Don: > > "Go back" in my case is to the same view prior to running the lisp. > It may be just me since I have very rarely used dview twist. I always use a > rotated UCS, make a "view" of the rotation, immediately return to World UCS. > > Bill > > "Don Reichle" wrote in message > news:41d2dc3a$1_1@newsprd01... > > Hey Bill; > > > > It will help the brave soul that attempts to recreate the problem if you > > could define "go back". > > > > And you're correct... still in the holding pattern for C3D. > > > > -- > > Don Reichle > > "King Of Work-Arounds" > > Barghausen Consulting Engineers > > Kent, WA USA > > LDT3 - SP1/CD3 - SP1 > > On WIN2K SP4 > > Dell 1.6 Ghz P4 > > 512MB RAM > > NVIDIA 32MB AGP > > > > > > "wfb" wrote in message > > news:41d2bd42$1_3@newsprd01... > > > Don: > > > If I remember correctly, you don't have access to Civil3D. I need for > > > someone that does to check this routine out. It doesn't appear to be > > > working correctly. At least not for me. It does the "twist" OK, but > > > doesn't want to go back. > > > > > > Bill > > > Civil 3D 2005 > > > Win XP Pro SP2 > > > P4- 3Ghz > > > 1 MB > > > Dual Monitors > > > > > > > >
    Please use plain text.
    *Wade

    Re: North rotation...

    12-30-2004 07:34 AM in reply to: *Wade
    Bill, First of all, thanks for the code. I think you're right, it doesn't want to go back. Even the "Undo" option in the Dview command doesn't "Undo" the twist. The coordinates remain the same (same Northing/Easting after "dvtw" - which was one of the things I was looking for) and the labels remain "plan readable" (but only labels attached to entities such as points, alignments, etc. - any text that is entered rotates with the drawing). I think Civil 3D still needs to have a way to rotate the North rotation (i.e. North is rotated to the right 45 degrees) so the Northing/Easting and Bearings remain the same (as if North was straight up), but AutoCADs angles are unaffected (i.e. 0 degrees to the right, 90 degrees straight up). If Autodesk doesn't develop a way to do this, I'm afraid several of our Lisp routines will never work - one of which labels the stationing and offset of points along an alignment and bases the rotation of the text on AutoCAD's angles, not the North angle, to maintain "plan readability" based on our standards. P.S. just a minor error message come up after running your routine: "error: AutoCAD variable setting rejected: "cmdecho" nil" only because the variable "cmde" was never set - no biggie though. "wfb" wrote in message news:41d2bd42$1_3@newsprd01... > Don: > If I remember correctly, you don't have access to Civil3D. I need for > someone that does to check this routine out. It doesn't appear to be > working correctly. At least not for me. It does the "twist" OK, but > doesn't want to go back. > > Bill > Civil 3D 2005 > Win XP Pro SP2 > P4- 3Ghz > 1 MB > Dual Monitors > > "Don Reichle" wrote in message > news:41d216e3_3@newsprd01... > > Gentlemen (and any Ladies perusing the thread); > > > > I used this in the LDT DG today, might as well share it here also. > > > > How about a simple DVIEW Twist Lisp routine? (Say that several times in > > succession!) > > [Lisp code] > > ; simple dview twist - (c) 2003 David Draeger > > ; Zoom and View commands added by Don Reichle > > > > (defun c:dvtw (/ cmde twa sna) > > > > (princ "Pick direction points or enter angle:") > > (setq twa (getangle)) > > (setq sna twa) > > (setq twa (angtos twa (getvar "aunits"))) > > (setq twa (strcat "-" twa)) > > > > (command "dview" "" "tw" twa "") > > (setvar "snapang" sna) > > (command "zoom" "e") > > (command "view" "save" "view") > > > > (setvar "cmdecho" cmde) > > (princ) > > ) > > > > [Lisp code] > > > > You can pick the points on-screen (i.e. Midpoint & Endpoint of longest > > tangent of street centerline or boundary line), or simply enter the angle > > you want - positive or negative, it doesn't care. > > > > HTH > > > > -- > > Don Reichle > > "King Of Work-Arounds" > > Barghausen Consulting Engineers > > Kent, WA USA > > LDT3 - SP1/CD3 - SP1 > > On WIN2K SP4 > > Dell 1.6 Ghz P4 > > 512MB RAM > > NVIDIA 32MB AGP > > > > > > > >
    Please use plain text.
    *wfb

    Re: North rotation...

    12-30-2004 10:32 AM in reply to: *Wade
    Wade: One of the things that I heard at AU (Autodesk University) was that one would probably be better equipped for Civil 3D if he had just started using an engineering package. I don't think that this is true, but it does have some merit. I may be wrong, but in my opinion if you want to use your existing lisp or other programs you will not be able to live through this(). I am just getting into 3D but I believe you will find that the labeling can be structured through these styles to do what you are doing. I.e., if you want the label to be on the line than your style will abide by that. If you want it readable, it will stay readable in paper space regardless of the angle you turn the model. I could go on, but there are a lot more "versed" people in this NG than me. I will also add, that there were several things that this program will spit out in a heartbeat. However, when it doesn't quite do all the things properly there doesn't seem to be the "magic correction command". I am trying to get some answers, but the "deskers" all seem to be on vacation. This period affords some extra time for several of us to work with 3D but getting stuck "kinda" complicates things. Bill PS That code was from one of our regulars, Don Reichle. He followed up with a statement that it is to be used only through the PS window. "Wade" wrote in message news:41d41fbc$1_2@newsprd01... > Bill, > > First of all, thanks for the code. > > I think you're right, it doesn't want to go back. Even the "Undo" option in > the Dview command doesn't "Undo" the twist. The coordinates remain the same > (same Northing/Easting after "dvtw" - which was one of the things I was > looking for) and the labels remain "plan readable" (but only labels attached > to entities such as points, alignments, etc. - any text that is entered > rotates with the drawing). > > I think Civil 3D still needs to have a way to rotate the North rotation > (i.e. North is rotated to the right 45 degrees) so the Northing/Easting and > Bearings remain the same (as if North was straight up), but AutoCADs angles > are unaffected (i.e. 0 degrees to the right, 90 degrees straight up). If > Autodesk doesn't develop a way to do this, I'm afraid several of our Lisp > routines will never work - one of which labels the stationing and offset of > points along an alignment and bases the rotation of the text on AutoCAD's > angles, not the North angle, to maintain "plan readability" based on our > standards. > > P.S. just a minor error message come up after running your routine: "error: > AutoCAD variable setting rejected: "cmdecho" nil" only because the variable > "cmde" was never set - no biggie though. > > > "wfb" wrote in message > news:41d2bd42$1_3@newsprd01... > > Don: > > If I remember correctly, you don't have access to Civil3D. I need for > > someone that does to check this routine out. It doesn't appear to be > > working correctly. At least not for me. It does the "twist" OK, but > > doesn't want to go back. > > > > Bill > > Civil 3D 2005 > > Win XP Pro SP2 > > P4- 3Ghz > > 1 MB > > Dual Monitors > > > > "Don Reichle" wrote in message > > news:41d216e3_3@newsprd01... > > > Gentlemen (and any Ladies perusing the thread); > > > > > > I used this in the LDT DG today, might as well share it here also. > > > > > > How about a simple DVIEW Twist Lisp routine? (Say that several times in > > > succession!) > > > [Lisp code] > > > ; simple dview twist - (c) 2003 David Draeger > > > ; Zoom and View commands added by Don Reichle > > > > > > (defun c:dvtw (/ cmde twa sna) > > > > > > (princ "Pick direction points or enter angle:") > > > (setq twa (getangle)) > > > (setq sna twa) > > > (setq twa (angtos twa (getvar "aunits"))) > > > (setq twa (strcat "-" twa)) > > > > > > (command "dview" "" "tw" twa "") > > > (setvar "snapang" sna) > > > (command "zoom" "e") > > > (command "view" "save" "view") > > > > > > (setvar "cmdecho" cmde) > > > (princ) > > > ) > > > > > > [Lisp code] > > > > > > You can pick the points on-screen (i.e. Midpoint & Endpoint of longest > > > tangent of street centerline or boundary line), or simply enter the > angle > > > you want - positive or negative, it doesn't care. > > > > > > HTH > > > > > > -- > > > Don Reichle > > > "King Of Work-Arounds" > > > Barghausen Consulting Engineers > > > Kent, WA USA > > > LDT3 - SP1/CD3 - SP1 > > > On WIN2K SP4 > > > Dell 1.6 Ghz P4 > > > 512MB RAM > > > NVIDIA 32MB AGP > > > > > > > > > > > > > > >
    Please use plain text.
    *Angel Espinoza

    Re: North rotation...

    12-30-2004 11:32 AM in reply to: *Wade
    I agree with Bill. One of my most often used quotes comes from Dean Kamen the inventor of the Segway (I have had the privilege of hearing him speak twice). It is "...The problem that most people have, is using the answers of the past, to solve the problems of today." As much as we want to apply our existing knowledge to solve the problems we confront; Sometimes this actually hinders us and places us further from the true solution. Even though it is more effort to learn how to use something the new (proper) way, in the long term it is "usually" more beneficial. Angel Espinoza KETIV Technologies "wfb" wrote in message news:41d449c8_1@newsprd01... > Wade: > One of the things that I heard at AU (Autodesk University) was that one > would probably be better equipped for Civil 3D if he had just started using > an engineering package. I don't think that this is true, but it does have > some merit. I may be wrong, but in my opinion if you want to use your > existing lisp or other programs you will not be able to live through > this(). I am just getting into 3D but I believe you will find that the > labeling can be structured through these styles to do what you are doing. > I.e., if you want the label to be on the line than your style will abide by > that. If you want it readable, it will stay readable in paper space > regardless of the angle you turn the model. I could go on, but there are a > lot more "versed" people in this NG than me. > > I will also add, that there were several things that this program will spit > out in a heartbeat. However, when it doesn't quite do all the things > properly there doesn't seem to be the "magic correction command". I am > trying to get some answers, but the "deskers" all seem to be on vacation. > This period affords some extra time for several of us to work with 3D but > getting stuck "kinda" complicates things. > > Bill > PS > That code was from one of our regulars, Don Reichle. > He followed up with a statement that it is to be used only through the PS > window. > > "Wade" wrote in message > news:41d41fbc$1_2@newsprd01... > > Bill, > > > > First of all, thanks for the code. > > > > I think you're right, it doesn't want to go back. Even the "Undo" option > in > > the Dview command doesn't "Undo" the twist. The coordinates remain the > same > > (same Northing/Easting after "dvtw" - which was one of the things I was > > looking for) and the labels remain "plan readable" (but only labels > attached > > to entities such as points, alignments, etc. - any text that is entered > > rotates with the drawing). > > > > I think Civil 3D still needs to have a way to rotate the North rotation > > (i.e. North is rotated to the right 45 degrees) so the Northing/Easting > and > > Bearings remain the same (as if North was straight up), but AutoCADs > angles > > are unaffected (i.e. 0 degrees to the right, 90 degrees straight up). If > > Autodesk doesn't develop a way to do this, I'm afraid several of our Lisp > > routines will never work - one of which labels the stationing and offset > of > > points along an alignment and bases the rotation of the text on AutoCAD's > > angles, not the North angle, to maintain "plan readability" based on our > > standards. > > > > P.S. just a minor error message come up after running your routine: > "error: > > AutoCAD variable setting rejected: "cmdecho" nil" only because the > variable > > "cmde" was never set - no biggie though. > > > > > > "wfb" wrote in message > > news:41d2bd42$1_3@newsprd01... > > > Don: > > > If I remember correctly, you don't have access to Civil3D. I need for > > > someone that does to check this routine out. It doesn't appear to be > > > working correctly. At least not for me. It does the "twist" OK, but > > > doesn't want to go back. > > > > > > Bill > > > Civil 3D 2005 > > > Win XP Pro SP2 > > > P4- 3Ghz > > > 1 MB > > > Dual Monitors > > > > > > "Don Reichle" wrote in message > > > news:41d216e3_3@newsprd01... > > > > Gentlemen (and any Ladies perusing the thread); > > > > > > > > I used this in the LDT DG today, might as well share it here also. > > > > > > > > How about a simple DVIEW Twist Lisp routine? (Say that several times > in > > > > succession!) > > > > [Lisp code] > > > > ; simple dview twist - (c) 2003 David Draeger > > > > ; Zoom and View commands added by Don Reichle > > > > > > > > (defun c:dvtw (/ cmde twa sna) > > > > > > > > (princ "Pick direction points or enter angle:") > > > > (setq twa (getangle)) > > > > (setq sna twa) > > > > (setq twa (angtos twa (getvar "aunits"))) > > > > (setq twa (strcat "-" twa)) > > > > > > > > (command "dview" "" "tw" twa "") > > > > (setvar "snapang" sna) > > > > (command "zoom" "e") > > > > (command "view" "save" "view") > > > > > > > > (setvar "cmdecho" cmde) > > > > (princ) > > > > ) > > > > > > > > [Lisp code] > > > > > > > > You can pick the points on-screen (i.e. Midpoint & Endpoint of longest > > > > tangent of street centerline or boundary line), or simply enter the > > angle > > > > you want - positive or negative, it doesn't care. > > > > > > > > HTH > > > > > > > > -- > > > > Don Reichle > > > > "King Of Work-Arounds" > > > > Barghausen Consulting Engineers > > > > Kent, WA USA > > > > LDT3 - SP1/CD3 - SP1 > > > > On WIN2K SP4 > > > > Dell 1.6 Ghz P4 > > > > 512MB RAM > > > > NVIDIA 32MB AGP > > > > > > > > > > > > > > > > > > > > > > > >
    Please use plain text.