Reference Text Label to Alignment

Reference Text Label to Alignment

F.Camargo
Advisor Advisor
729 Views
4 Replies
Message 1 of 5

Reference Text Label to Alignment

F.Camargo
Advisor
Advisor

Hello everyone!
How are you?

 

I'm trying to insert a station value label in the alignment, but I don't see any reference text options.

sv.png

 

Does anyone could help me please?

Thank in advance

Fabricio

0 Likes
Accepted solutions (1)
730 Views
4 Replies
Replies (4)
Message 2 of 5

tcorey
Mentor
Mentor
Accepted solution

COGO Points do not support Reference Text in labels. Perhaps creating a Surface Spot Elevation that uses an Alignment Reference Text, or an Alignment Station/Offset Label that has a reference text for surface elevation.

 

Lastly, it wouldn't be hard to create a LISP that would read the points, gather station info from Alignment, and plug that into the points to replace existing Raw Description. This lisp does that, but does not format the number as stationing, like 15+75.04, etc.

(defun c:StaToDescr ( / pts len ctr pt xy sta off)
(vl-load-com)
(prompt "/nSelect COGO Points")
(setq pts (ssget)
	  len (sslength pts)
	  ctr 0)
(setq algn (vlax-ename->vla-object (car (entsel "\nSelect Alignment: "))))
;(setq srf (vlax-ename->vla-object (car (entsel "\nSelect Surface: "))))

	  
	  (while (< ctr len)
			 (setq pt (vlax-ename->vla-object (ssname pts ctr)))
			 (setq xy (list (vlax-get pt 'Easting)(vlax-get pt 'Northing)))
			 (vlax-invoke-method algn 'StationOffset (vlax-get pt 'Easting) (vlax-get pt 'Northing) 'Sta 'Off)
			 (vlax-put pt 'RawDescription (rtos Sta 2 2))
			 (setq ctr (1+ ctr))
			 
			 )
			 
			 )

 

 



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 5

rl_jackson
Mentor
Mentor

Point label style don't have that functionality natively. You would need to use UDP's with a little help from THIS 

 


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 4 of 5

Joe-Bouza
Mentor
Mentor

... or use pipe network structures that look like points. 😎

 

I had recently finished a job I was on for 3 years. One task was tracking test thousands of test pits across thousands of drawings and 7 countries. Test pits could come in daily weekly monthly and the tables had to be live. pipe networks structures were awesome for this

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 5

F.Camargo
Advisor
Advisor

@tcorey 

I did the first option with Spot Elevation and worked fine!

 

I haven't tested this lisp because I don't know how to do that. 😅

 

Thanks

Fabricio

0 Likes