If you are familiar with the concept of proxies, you need to get the
WorkPlaneProxy object in the context of the top level assembly (active
assembly) and set the Visible property on that object. Your code jumps over
to the sub-assembly or part document and sets the visibility of the
workplane in that document.
Sanjay-
wrote in message news:5781902@discussion.autodesk.com...
It changes the visibility of the sub-assembly when its opened up. But doesnt
change is visibility in the main assembly that the code needs to do. Changes
in oOccurrence should persist in the main assembly, I can seem to change the
workplane. Help Appreciated