TheSwamp

CAD Forums => Vertically Challenged => Topic started by: Conrad on August 12, 2018, 02:41:57 PM

Title: Civil 3D 0218 Create block with leader that will update lat-long
Post by: Conrad on August 12, 2018, 02:41:57 PM
Hello all glad to see this place is still kickin..

I am trying to create a HH block with a leader attached and text displaying the lat-long information that updates whenever the HH is placed in a different area.  I was wondering if anyone knew of a way I could create a block that would get the lat-long from the point style.  I tried doing it with fields but lat-long isn't an option that way.

Thanks in advance for any and all help.
Conrad
Title: Re: Civil 3D 0218 Create block with leader that will update lat-long
Post by: Mark on August 13, 2018, 07:59:12 AM
Hey Conrad, long time no see. :)

I don't know what an HH block is but you can use a Note to label lat/long that will update when you move it.

Title: Re: Civil 3D 0218 Create block with leader that will update lat-long
Post by: Crank on August 13, 2018, 08:11:20 AM
Perhaps Marks answer is better, but I only use Vanilla Acad and the only entity I know of that supports lat-long information is a POSITIONMARKER.
In the past I did some experiments with FIELDs on this object, but after that Acad wasn't stable any more.

What's possible is though, is to use text. So what you can do is to write a function that updates all POSITIONMARKERs at once with the values of their lat-long property.

Because POSITIONMARKERs aren't documented, I had to do some reverse engeneering (see attached file).
Title: Re: Civil 3D 0218 Create block with leader that will update lat-long
Post by: MSTG007 on August 13, 2018, 08:26:28 AM
I agree with Mark. Just to add alittle more info. Usually for us, we have a State Plane Coordinate System in place. That way, with the label mark shows, we can translate it from SPCS to LAT and LONG... Works great and easy.
Title: Re: Civil 3D 0218 Create block with leader that will update lat-long
Post by: mjfarrell on August 13, 2018, 10:35:16 AM
for reference HH block.....would be Hand Hole (I think!)

I C3D note could be used for this...just create a note style

and or a Point Style...I would think Hand Holes would be a survey item and thus a point style would be most appropriate.
Title: Re: Civil 3D 0218 Create block with leader that will update lat-long
Post by: Conrad on August 13, 2018, 11:00:54 AM
Awesome information... I will have to give these a try.

Once again the swamp doesn't fail to disappoint with it's knowledge  :-)

And yes mjfarrell is correct HH is a Hand Hole.