I am using SetMaterialPropertyName2 to set the material name in a part, but I don't want to use the colors and textures that are defined in the material. I want the part to visually stay like it is, but this function will change both the color and texture as if I had both the "Use Advanced Graphics" and "Use Material Color" options in the "Edit Material" PM page checked even though they are not. That would be acceptable if I could at least turn them off, but I can't find a way to do that. I tried to remember teh current appearance by using Get and SetMaterialPropertyValues, but it appears to ignore this once the material is set.
I am using the 2005 API in my program, but have looked at the 2006 API help and there does not appear to be anything new there. When I run my program in 2006, it has the same behavior as well.
Has anyone used the SetMaterialPropertyName2 while retaining the appearance of the original part?
Thanks
--Mark