After messing around with the code this morning, I am still having issues with having it insert an elevation point where one already exists. I know that I need another if statement at this portion of the code: - (if (not (member p proc)) (progn (vlax-invoke-method fl 'InsertFeaturePoint (vlax-3d-point p) 2) (vlax-invoke-method f 'InsertFeaturePoint (vlax-3d-point p) 2)
However, I have searched and can't find how to have the if statement test whether an elevation point exists. Does anyone know what the if statement would need to look like to test and see if an elevation point exists, and if it doesn't then to run the above code? |