CharlieDFW Posted January 26 Posted January 26 I would like to label the midpoint of an alignment that has multiple segments. Anyone have ideas on this? Quote
BIGAL Posted January 26 Posted January 26 The simplest way is when making alignments in CIV3D do not answer Yes to delete pline. You can get the midpoint of a pline very easy its a point at 1/2 the length of the pline. two VL functions. You should be able to add that point then to the alignment. This is get a point at mid point of a pline. (setq obj (vlax-ename->vla-object (car (entsel "\nPick pline ")))) (setq len (/ (vlax-get obj 'length) 2.0)) (setq pt (vlax-curve-getpointatdist obj len)) Quote
Recommended Posts
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.