Lisp to divide 3d polyline at specific levels

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good morning,
I work with the design of houses, and one rather tedious job is applying underbuild and tanking, which is effectively the difference between external ground level and the finished floor level. We tend to identify this by drawing polylines around the building with different linetypes to show whether it is underbuild or tanking.
I know I can use a 3D polyline to create an external boundary which would mimic the ground levels. But I wondered if it would be possible to create a lisp that would be able to take that 3D polyline and split it at a specific level (the FFL), it would be ideal if the lisp was able to apply a certain layer to the 3D polylines above the specified level, and another to levels below.
For example, if the FFL was set at 100m, and the levels along the front of the house went from 99m on the left to 101m on the right, it would create a split at the 100m mark, then the 3dpolyline to the left would be underbuild and the 3dpolyline to the right would be tanking.
I hope that makes sense, and I would be extremely grateful for any help.
Kind regards,
Anthony