Jump to content

Insert points/blocks along a selected pline?


chulse

Recommended Posts

Can you gurus give me a nudge in the right direction please?

What I'd like to do is insert blocks and points along a selected Pline given a list of data containing distance along the line and depth below it.

Could the depth value be translated to a Z value based on the elevation of the pline?

I'm not asking for a completed program, just some pointers to get started.

 

Thanks!

Link to comment
Share on other sites

Look into the vlax-curve-getPointAtDist function. This will return the coordinates (x y z) of a point at a specified distance along a curve (line, pline, spline, arc...). You can then manipulate the coordinate list to suit your needs.

Link to comment
Share on other sites

Surely we must be getting to a point at which every request has been solved somewhere on the forum...

What would you do with yourself? :lol:

Link to comment
Share on other sites

Surely we must be getting to a point at which every request has been solved somewhere on the forum...

Sorry Lee,

I just can't always figure out how to apply the methods from the other threads to my specific situation. i still find this stuff fairly confusing. :?

Link to comment
Share on other sites

Look into the vlax-curve-getPointAtDist function. This will return the coordinates (x y z) of a point at a specified distance along a curve (line, pline, spline, arc...). You can then manipulate the coordinate list to suit your needs.

 

Thanks - I'll look that one up.

Link to comment
Share on other sites

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...