StuboJones Posted April 25, 2011 Posted April 25, 2011 Happy Easter all, I have a number of building elevations to monitor, which have non-uniform extents. I'd like to be able to select the boundary (created by a surveyed polyline) and then specify a grid size that points would be created within it. I would then utilise the points as set monitoring positions. The grid size would vary as I'm required to monitor by a ratio of number of points to area of elevation. If anyone knows how I could create points within the boundary, it would save a lot of time in drawing grids and manually creating points, which I would really appreciate. Thanks for your time, Stu Quote
BlackBox Posted April 25, 2011 Posted April 25, 2011 Consider extracting the BoundingBox of the polyline's vla-object, then use Polar to calculate points at your desired grid spacing, and verify that the resultant (polar) point lies within the 'Min (Bottom left), and 'Max (Upper right) of the boundary itself. ** Note - using the Bounding Box may be a good start, however there are circumstances where it will allow points outside of the boundary (i.e., an "L", or "C" shaped boundary). Quote
StuboJones Posted April 26, 2011 Author Posted April 26, 2011 Thanks RenderMan I'll give that a go. I thought of exploding hatch too Lee Mac, but wouldnt I still have create points at each intersection? Apologies if I'm coming across as lazy, only time is short Quote
BlackBox Posted April 26, 2011 Posted April 26, 2011 Hatch > Explode Hatch? This is by far the simplest solution; wish I had thought of it first ... Perhaps the only *critical* parts being the scale (hatch density), and the rotation, given the dots hatch pattern, no? ... Apologies if I'm coming across as lazy, only time is short No worries; that's why I started to learn LISP in the first place... because I'm lazy. Quote
StuboJones Posted April 26, 2011 Author Posted April 26, 2011 Thanks guys, will be giving this a go. Think you nailed it Quote
BIGAL Posted April 29, 2011 Posted April 29, 2011 Did something like this easy way, pick top left - bottom right outside your boundary, enter grid spacing, lisp draws grids and points as rectang shape (to a rounded grid value from pick point say 5m) then just extrim! all outside points gone. 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.