Match Elevations (Tip #2216) from Pedro Ferreira is another tool for correcting drawings. The purpose of this utility is to change elevation properties in AutoCAD objects such as hatches, polylines and sections. In other words, you can change those objects with an elevation property embedded inside them with this function. Objects that have 3D points don't have a single elevation property and can't be changed. This function illustrates how programmers can use the Get and Put methods to manipulate properties after a function has an entity object ready to process. Very powerful edit tools can be created from these functions, and Ferreira has provided a very clear example of how to do it. |