Colour and transparency settings
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