I am trying to programmatically replace an assembly component. I have a handle to the component to be replaced and a handle to the new component. I am trying to redefine the feature by setting the value of the PRO_E_COMPONENT_MODEL in the element tree but when I do this nothing happens. I get a message in the message window that the feature was redefined but it's really not.
Additionally I am copying the original component to a new component with a new name. I want to replace the original component with the one with the new name. Therefore all of the constraints "should" not change. Am I correct in this claim?