XbimWindowsUI icon indicating copy to clipboard operation
XbimWindowsUI copied to clipboard

Colour and transparency settings

Open TasigurIshtar opened this issue 6 years ago • 0 comments

Hello, probably its not an issue but still ..have a few beginner questions. I use your XbimWindowsUI solution. Everything works well. Now I am trying to add some functionalities. Let’s say I want to change color|visibility of a specific part by clicking on it. (And preview my changes immediately) I suppose hiding a viewable object can be accomplished also with its color change. Only by increasing alpha channel. But maybe I am wrong. private void DrawingControl_SelectedEntityChanged(object sender, SelectionChangedEventArgs e) {
for (int i = 0; i < e.AddedItems.Count; i++) { IIfcProduct p = e.AddedItems[i] as IIfcProduct; //recolor|hide logic missing }
}

Can you please give me some advice how how to finish my goals?

Thank you for your time. i appreciate it Sincerely Milan Hokr

TasigurIshtar avatar Jan 28 '19 08:01 TasigurIshtar