In some of our polyline overrules we have blocks, the problem is that those blocks are coming in at a darker colour. It's as if they are permanently selected. Has anyone come across this before?
Ok, I will try and be more descreiptive.
We have a function that applies an Overrule to 2dPolyLine. The overrule consists of Blocks in the shape of a triangle that are copied along the polyline at a selected distance. The colour of the triangles is the issue. Basically we set the triangle block to colour index 2 (yellow), but it displays at a darker yellow. And that applies for nay colour. If you move the polyline the blocks colour appears correct, then when you set it back down it goes back to being dark.
I'm just wondering if this is a bug in the worlddraw? We can't seem to find a solution apart from darken all the other stuff to match the miss coloured block. Very frustrating.
It is the worlddraw we have overridden, but why would a block reference in the worlddraw of an overrule be darker?
I have a feeling it's something to do with the fact that it thinks it's being moved even when it's not.
We have just ran more tests. The bug shws up in 2011 & 2012. BUt the same code ran in 2010 works fine, with no discoloration. I have attached a sample project.
Sorry, your post seemed to indicate that you had resolved it
If you still have this issue, let me know and I will try it out right away.
Developer Technical Services
Autodesk Developer Network