someone had posted this ...... i tried and it doesnt work
so my search continues
(defun C:getsta ()
(setq ProfView (vlax-ename->vla-object (car (nentsel "\nSelect Profile View "))))
(setq pt1 (getpoint "\nSelect Point "))
(setq pt1X (car pt1))
(setq Pt1Y (cadr pt1))
(setq pstation 1.0)
(setq pelevation 1.0)
(vlax-invoke profview 'FindStationandElevationatXY (pt1x, pt1y, pstation, pelevation))
(vlax-invoke profview 'FindStationandElevationatXY pt1x pt1y 'pstation 'pelevation 'inbounds)
if you attach a sample dwg, with your profile view and some notes about what you need, is easiest somebody could help you.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.