I’m making a Python script that asks the user to select a line, and explodes it into lines and arcs. I know this can be done with the built in Dynamo functions, but those wouldn’t work with my end goal for this program. In the code below, the “element” is an Autodesk.AutoCAD.DatabaseServices.Polyline object that has no matching method “Explode”. Is there another way to explode an object?
All the methods and code are adapted from the “Select Objects in the Drawing Area” section of the AutoDesk .NET Developers Guide