Author Topic: Edit Coordinate Systems  (Read 3553 times)

0 Members and 1 Guest are viewing this topic.

dfarris75

  • Guest
Edit Coordinate Systems
« on: June 19, 2008, 10:57:09 AM »
I have a drawing set up in NAD 27 Zone 17 with a dem surface added. I want to bring in doqqs which are in NAD 83 FL East Zone via data connect. I was under the impression that the Edit Coordinate Systems would allow me to do this, but they (doqqs) just plop right into the same place. Am I using the tool incorrectly or must I create a separate .dwg with the doqqs in their zone and then query that .dwg in???

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #1 on: June 19, 2008, 11:01:30 AM »
BLING!!! I figured it out. I was using it incorrectly. I was inputting the dem file coord zone in the Edit Coord... deal when I was supposed to be inputting the sources coord zone...
Thanks for all your help! :lol:

Dinosaur

  • Guest
Re: Edit Coordinate Systems
« Reply #2 on: June 19, 2008, 11:04:21 AM »
sure . . . any time . . . glad to be of service  :-D

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #3 on: June 19, 2008, 11:05:30 AM »
Hehe. Now I guess my next question is, why are DEM's so squarish in nature? My contours are all jagged.

Dinosaur

  • Guest
Re: Edit Coordinate Systems
« Reply #4 on: June 19, 2008, 11:13:28 AM »
they are based on a grid of given resolution . . . the entire area of each square on that grid is assumed to be at the same elevation - kind of like a bunch of building blocks stacked in columns of different heights

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #5 on: June 19, 2008, 11:51:08 AM »
Hmmm. And I guess there's really no way to smooth them out so they're a little more aesthetically pleasing.

Dinosaur

  • Guest
Re: Edit Coordinate Systems
« Reply #6 on: June 19, 2008, 11:57:07 AM »
You might try some of the smoothing options or min / max triangle lengths in your surface style.  I have neither working C3D nor DEM data right now to check.

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #7 on: June 19, 2008, 12:04:02 PM »
Smoothing is on and set around 7. I don't think adjusting max. triangles will help. Oh look. It's lunch time.

Dinosaur

  • Guest
Re: Edit Coordinate Systems
« Reply #8 on: June 19, 2008, 12:09:29 PM »
The problem is you have a lot of hard data sitting exactly on a contour elevation.  I have no clue if this will have any effect, but what happens if you raise or lower the entire surface some percentage of a foot?  This is very low precision data anyway.

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Edit Coordinate Systems
« Reply #9 on: June 19, 2008, 12:25:37 PM »
I had the same problem (I guess we all would if we all used DEM's...) so I wrote a little lisp that weeds the contours and gives a decent looking contour. However, I found that using Google Earth gives just about the same results and is far easier than getting the DEM's.

I'll post the lisp if you'd like to give it a shot.

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #10 on: June 19, 2008, 12:38:28 PM »
Sure. What the heck. May as well have it available in the lisp arsenal anyway. :wink:

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Edit Coordinate Systems
« Reply #11 on: June 19, 2008, 01:18:26 PM »
OK, here ya go. The lisp to load is "weed-nineties.lsp" and the command is "desquareconts". Select the contours to smooth out and wait while it works. It isn't ideal, but for the job I created it for the client was happy.

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #12 on: June 19, 2008, 01:55:42 PM »
And to verify, this is for Civil 3D surfaces or no?

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #13 on: June 19, 2008, 02:04:45 PM »
Doesn't appear to...

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Edit Coordinate Systems
« Reply #14 on: June 19, 2008, 02:28:22 PM »
Oh, my apologies I should have clarified......
Create your C3D surface from the DEM,
Use the Style for the contour display as you please,
Extract the contours,
Use the lisp on the resulting polylines,
Create a new surface from the modified plines.
Set the original DEM surface to No_Display


Like I said, Google Earth is a bit easier :-)

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #15 on: June 19, 2008, 02:35:14 PM »
Yes most definitely, but this lisp would work no matter what version of Acad wouldn't it? So for those who are not fortunate enough to have Civil 3D it would be an option.

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Edit Coordinate Systems
« Reply #16 on: June 19, 2008, 02:37:14 PM »
Yes, that is correct.

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #17 on: June 19, 2008, 02:38:28 PM »
Command:  DESQUARECONTS
Select objects: 1 found

Select objects:  .Undo Current settings: Auto = On, Control = All, Combine = Yes
Enter the number of operations to undo or [Auto/Control/BEgin/End/Mark/Back]
<1>: be
Command:
Command: ; error: no function definition: VLAX-ENAME->VLA-OBJECT

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Edit Coordinate Systems
« Reply #18 on: June 19, 2008, 03:10:56 PM »
Ah shoot. I always forget to add (vl-load-com) since I have that set in my acad.lsp file. Just add that to the beginning of the lisp and it will be good to go.

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #19 on: June 19, 2008, 03:26:14 PM »
Command: desquareconts

Select objects: 1 found

Select objects:  .Undo Current settings: Auto = On, Control = All, Combine = Yes
Enter the number of operations to undo or [Auto/Control/BEgin/End/Mark/Back]
<1>: be
Command:
Command: ; error: AutoCAD.Application: Invalid class

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Edit Coordinate Systems
« Reply #20 on: June 19, 2008, 03:46:51 PM »
hmm, I cannot duplicate that error. I used this routine previously in 2007 without a problem. This PC only has Acad2002 on it and it works fine. I will get on a C3D2008 machine in a bit to see if it 2008 specific.

Could you post a small portion of the drawing this is occurring in?

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #21 on: June 19, 2008, 03:50:43 PM »
As you wish.

dfarris75

  • Guest
Re: Edit Coordinate Systems
« Reply #22 on: June 19, 2008, 03:53:02 PM »
OK I tried it again in the portion I clipped for you and it worked. Maybe it was because I reloaded the app on top of already having it loaded as opposed to unloading it and then reloading it???

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Edit Coordinate Systems
« Reply #23 on: June 19, 2008, 04:05:34 PM »
possible.....Have you closed & re-opened the original drawing? Doing so will clear any stray variables left over from any crash of my routine and should allow it to work.