Re: change the style of features for each in occurrencedocs, does not work!?

I think that you are missing to make the occurrence writable .By default the documents are readonly if accessed from the asm.

Hope this helps,

Julian

For Each occ As SolidEdgeAssembly.Occurrence In ASMdoc.Occurrences
If occ.Type = SolidEdgeFramework.ObjectType.igPart Thenocc.MakeWritable
Dim ParDoc As SolidEdgePart.PartDocument = occ.PartDocument
For Each feat In ParDoc.DesignEdgebarFeatures
ChangeFeat(feat, Linckgreen)
Next
End If
Next