Message 1 of 13
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I created an overrule object to change a Point object to a group of objects. The color of these objects can be changed by below code in WorldDraw function of the overrule object. But the Dimension objects' color can't be changed this way. How to change it?
Thanks!
public override bool WorldDraw(Drawable drawable, WorldDraw wd)
{
...
short oldColor = wd.SubEntityTraits.Color;
wd.SubEntityTraits.Color = 1;
entities[i].WorldDraw(wd);
wd.SubEntityTraits.Color = oldColor;
...
}
Solved! Go to Solution.