Kent Cooper created this routine in response to a question in the Autodesk customization forums; the user wanted to trim AutoCAD objects where the cutting edge turned out to be 3D faces. Since neither trimming to 3D faces or exploding 3D faces is supported in AutoCAD, Kent wrote this routine to convert 3D faces into lines, which of course can be used as cutting edges for the Trim command. As usual, Kent's code is well written and documented, with some user-defined options that you may wish to alter. |