Click here to Skip to main content
15,792,870 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Use button click i can't Remove STL object from HelixViewport3D. Plese help me ....

What I have tried:

private void Button_Click(object sender, RoutedEventArgs e)
Updated 6-Feb-23 19:25pm
Andre Oosthuizen 7-Feb-23 4:05am    
Your code is perfect for removing a model, not sure where your problem lies with only this 1 line of code. Maybe you have a name conflict for the model, not sure?
Gerry Schmitz 7-Feb-23 15:27pm    
You don't confirm there are children in the first place. And we have no idea what "model" points to. Your question, as posted, has no answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900