Hi Everyone,
I would like to set the surface pattern color of element in 3D view using 2012 API. This can be done via UI by Open 3D View->Right click on a Element--> Override Graphic in View --> By Element --> SurfacePattern --> choose color, Pattern - solid
However, i can't find any method/function to set the surface pattern and color override by element.
In the View Class, it has method like
public void set_CutColorOverrideByElement(ICollection<ElementId> ids, Color color);
public void set_CutLinePatternOverrideByElement(ICollection<ElementId> ids, LinePatternElement linePattern);
public void set_CutLineWeightOverrideByElement(ICollection<ElementId> ids, int weight);
public void set_ProjColorOverrideByElement(ICollection<ElementId> ids, Color color);
public void set_ProjLinePatternOverrideByElement(ICollection<ElementId> ids, LinePatternElement linePattern);
public void set_ProjLineWeightOverrideByElement(ICollection<ElementId> ids, int weight);
but, all above method does not set the surface pattern. Does anyone know how to change the surface pattern and color override by element using 2012 API? Any help is appreicated.
Hi,
I got some suggestion to use 'OverrideGraphicSettings' set the graphich overrides(which it contains method member to set the surface pattern and color), but this type is in 2014 API, but i am using 2012 API now. Does anyone know how to do it via 2012 API?