Creating a pipe network from COGO points?

Creating a pipe network from COGO points?

Thomas-GN
Explorer Explorer
1,936 Views
8 Replies
Message 1 of 9

Creating a pipe network from COGO points?

Thomas-GN
Explorer
Explorer

Hi. I was wondering if it's possible to create a pipe network from cogo points? My cogo points consists of survey data, which is basically the connection point of the pipes at the structures. I need to do this because i have to see how it holds up against the projected elevations and slopes of the pipelines. When i try to draw pipes and structures between my cogo points, the elevations of my structure rim snaps to the elevation of the point. I want the elevation to be assigned to the inlet of my pipe ends instead. This way i can see the slope and distance of the network as a finished product, export to Storm and sewers, and then finally create an excel report with all the data i need. If there's an easier way, please do let me know. I dont want to use the analyze feature "list slopes" for every single line segment.

 

Hope this made sense. 

 

/Thomas

0 Likes
1,937 Views
8 Replies
Replies (8)
Message 2 of 9

Karadzhaian_Eduard
Advisor
Advisor

Hi @Thomas-GN,

If COGO points - are the result of survey data import you can automatically create survey figures (using points description) and then create pipe network.

Or you can create by these points feature line user transparent commands (then also create pipe network). Point number - is more convenient for me.

TC.PNG


Eduard Karadzhaian
Senior Civil Infrastructure Engineer
Blog| LinkedIn| E-mail| Youtube|



0 Likes
Message 3 of 9

AllenJessup
Mentor
Mentor

I have rarely created a pipe network. Is there any way you could export a PNE file to a CSV or TXT format and edit the elevations? If there is a standard difference between the Cogo point elevation and the invert. This would be easy to do in Excel. Or if you have a list of the invert elevations in the same order as the points. You could replace the elevation column,

Allen Jessup
CAD Manager - Designer
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

0 Likes
Message 4 of 9

cwr-pae
Mentor
Mentor

I agree with @Karadzhaian_Eduard , create feature lines first to create a pipe network with the proper inverts. Setting your osnap to nodes only you can quickly draw feature lines manually, or have it done through survey data import.

If you create the pipes manually, you can edit the start and end inverts through the properties palette fairly quickly.

0 Likes
Message 5 of 9

tcorey
Mentor
Mentor

Create a User Defined Property (UDP) Set called Pipes. Add two fields: Depth and NewRim.

 

Add the depth information (distance rim to invert) to the UDP for the points. 

 

Edit your Point Group, Summary tab, and apply Pipes as the Classification.

 

Run the attached LISP. 

 

Edit Point Group Properties, Overrides tab, apply NewRim as override for point elevation. 

 

Create your pipes from COGO Points.

 

Remove the elevation override from the points.

 

Do not run the LISP with the elevation override active.

 

 

(defun c:DES_RimAdjuster ( / c3ddoc acaddoc c3dapp acadapp pts ctr cnt pt pz dpt appno)
(getdoc)
(setq pts (vlax-get c3ddoc 'Points)
      ctr 0
	  cnt (vlax-get pts 'Count))
	  
	  (while (< ctr cnt)
	  (setq pt (vlax-invoke pts 'Item ctr))
	  (setq pz (vlax-get pt 'Elevation)
	        dpt (vlax-invoke pt 'GetUserDefinedPropertyValue "Depth")
			nr (+ pz (atof dpt))
			)
			(vlax-invoke-method pt 'SetUserDefinedPropertyValue "NewRim" nr)
		(setq ctr (1+ ctr))
		)
		(princ)
			
)
(defun getAecAppNumber (/ );c3dnumber c3dproduct c3drelease)
  (setq	C3Dproduct (strcat "HKEY_LOCAL_MACHINE\\"
			   (if vlax-user-product-key
			     (vlax-user-product-key)
			     (vlax-product-key)
			   )
		   )
	C3Drelease (vl-registry-read C3Dproduct "Release")
	C3Dnumber  (substr
		     C3Drelease
		     1
		     (vl-string-search
		       "."
		       C3Drelease
		       (+ (vl-string-search "." C3Drelease) 1)
		     )
		   )
  )
)
(defun getdoc ( / )

  (setq appno (getaecappnumber))

  (setq	acadapp	(vlax-get-acad-object)
	c3dapp	(vla-getinterfaceobject acadapp (strcat "AeccXUiLand.AeccApplication." appno))
	C3Ddoc	(vla-get-activedocument C3Dapp)
	acaddoc (vlax-get acadapp 'activedocument)
  )

)

 



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
0 Likes
Message 6 of 9

Thomas-GN
Explorer
Explorer

Hi.

I have a question regarding your answer. I'm not sure i understand this part "Add the depth information (distance rim to invert) to the UDP for the points". I have created the point UDP and added the fields.

0 Likes
Message 7 of 9

tcorey
Mentor
Mentor

Do your surveyors obtain give you both Invert Elevation and Depth? If so, use my workflow.

 

If they give you Invert Elevation and Rim Elevation, we can modify the LISP to accommodate.



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
0 Likes
Message 8 of 9

Thomas-GN
Explorer
Explorer

Usually rim elevation and depth as a point code. Or just the invert of the pipes as an elevation.

0 Likes
Message 9 of 9

tcorey
Mentor
Mentor

Can you attach an ascii file of the points your surveyors supply?



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
0 Likes