Attaching 3d coordinates as a point on the surface of a model

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I'm fairly new to this community, so please forgive me if I'm in the wrong posting here.
Here's my situation. I'm a software developer and I work with some engineers that have this process they use to input/display information on vehicle parts.
1. They have built AutoCAD models of all the vehicle parts.
2. Some mechanic inspects a real life vehicle part and makes notes on wear/tear/location and pass it along to a data entry technician.
3. The data tech then inputs the discrepancy locations as x,y,z columns in an access database.
4. The engineers load up the model, then using a VBA script, load up the discrepancies and plot them as dots (small spheres) that show up around the model.
Here's the problem. They want to apply a kind of heat map, based on the cluster density of the discrepancies, over the surface of the object. I believe the dots need to be a part of the object in order for this to work. Changing their data input process is not an option at the moment. I'm stuck with using the data I currently have.
Is there any built in AutoCAD method to snap a point to the closest surface point of a model? Some API I can programmatically access to accomplish this. I'm sure I can get the math of it if i need to re-write the script, but how to attach the point to the model and to make sure AutoCAD knows its a discrepancy point so I can apply the mapping?
Any thoughts are appreciated,
Thanks!
Carlos