If you passing a dynamic component it needs to be in a disposable wrapper with the references in the form parent! rather than a specific name. There is an example using a handle wrapper with video
Global Kitchen Cabinet Handles - SketchUp / Dynamic Components - SketchUp Community