Bug in Component2::IsHidden

OK there is a big bug in the IsHidden function.

Calling AssemblyDoc::GetComponents and looping through allcomponents of an assembly and calling IsHidden(true or false) oneach component returns invalid data.

Say you have an assembly with sub-assemblies within them and youhide a sub-assembly and all of its components, the IsHidden willreturn false (visible) for all components within that sub-assembly,and true (Hidden) for the sub-assembly itself.

If you take that one step further and have a sub-assembly inside asub-assembly and the top-level sub-assembly is hidden, only thatsub-assembly reports hidden, all over components including thesub-assembly within it report as visible!

Can anyone else check and confirm this behavious please.SolidworksApi macros