0

I am using Autodesk Inventor Proffessional 2015 and the C# SDK API. I am able to hide a full AssemblyDocument by traversing the ComponentOccurrences:

foreach ( var occurrence in _assemblyDocument.ComponentDefinition.Occurrences )
                    ( (ComponentOccurrence) occurrence ).Visible = false;

but this method does not work using a PartDocument. How can I hide a Part?

Maxence
  • 12,868
  • 5
  • 57
  • 69
marsop
  • 323
  • 4
  • 19

1 Answers1

1

Solved. Problem was that it is not possible to hide a document per se, but rather all the occurrences of the document in the assembly.

marsop
  • 323
  • 4
  • 19