Hi
We have a (big) model from a partner that gives us a strange problem.
When the model is placed in a drawing, we have a function that takes the colors from the 3d model and applies them (mapped) to the 2d drawing by moving individual curves onto different layers (this was much faster than simply coloring the lines).
Strangely one of the layers we create gets InUse == false.
Even if we manually in Inventor move some component onto this layer InUse remains 'false'.
The curves all appear to have the right color and everything seems to work. The problem appears when the drawing is exported to an AutoCAD dwg, since apparantly layers that are not InUse are not created in AutoCAD and all curves that belong to that layer (and are nicely blue) in Inventor are placed in layer 0 in AutoCAD.
I can not see why this is. We create several colored layers, all in the same way. They are created as copies of the original layer, renamed and then assigned a color.
If I create a small model everything works as expected, but we do not know how many of our partners models have this specific problem.
I can not see anything different between the faulty layer and the others. Interestingly it is the 'first' layer in alphabetical order of the layers we create (which are by the way not placed in the "Standard").
Also the drawing is actually an Inventor dwg and not an idw, if that makes any difference.
How can I force a layer to set InUse == true?
regards
Mikael Björk
Can you attach data and steps to reproduce this problem?
No. I can not attach the model it is 1.5GB big and removing some parts of it makes it start working again.
I am investigating the issue further to be able to provide you with a more detailed description but in general the problem is that one layer claims that it is not InUse, while it actually is.
Our customer has decided to let this bug go. We do not know what is causing it. But it appears rare so we will just ignore it for now.