Hi, I'm struggling to get a line to draw in my map document using a custom toolbox created with the Python add-in wizard for ArcGIS. The purpose of the toolbar is to select a DEM from a combobox of current rasters held within the opened map document, and then draw a line using the line button which is then converted into a 3D line and the profile of that line is copied to the windows clipboard for use in another program. The copying to clipboard part works fine, but when I try to have the currently drawn line display as