Message 1 of 5
LISP to extract coordinates of bottom left and top right corners of a map or 3D model
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all.
Our practice has a lot of 3D models and maps used as context in our projects, and I want to create an interactive map on our internal intranet showing the areas we have available.
To do this, I'm trying to extract 2 coordinate points for the bottom left and top right corners of a 'bounding box' surrounding the geometry (including blocks, lines, surfaces, etc) inside each CAD file.
I'm not familiar with writing LSP routines myself - I tried to get Chat GPT to write this for me with limited success.
Has anyone written such a script in the past, or could suggest how to go about writing one?
Any tips much appreciated.