Jump to content

[Civil 3D] How to get a point location of Section View.


Recommended Posts

Posted

How to get a point location of Section View?

Section View is an object existing only in Civil 3D.

 

I am looking for the properties using:

(defun c:prop (/ p1 p2)
 (vl-load-com)
 (setq p1 (vlax-ename->vla-object (car (entsel))))
 (setq p2 (vlax-get-property p1 "Parent"))
 ....
 (vlax-dump-object p2 'T)
 (princ)
 )

Looking coordinates of a point in the image.

Section.jpg

Posted

Have you looked into the following two methods that are provided for SectionViews?

 

; FindStationOffsetAndElevationAtXY (6)

; FindXYAtStationOffsetAndElevation (6)

 

It isn't very clear to me what you are trying to do though.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...