|
bug in component2::ishidden
ok there is a big bug in the ishidden function.
calling assemblydoc::getcomponents and looping through all components of an assembly and calling ishidden(true or false) on each component returns invalid data.
say you have an assembly with sub-assemblies within them and you hide a sub-assembly and all of its components, the ishidden will return 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 a sub-assembly and the top-level sub-assembly is hidden, only that sub-assembly reports hidden, all over components including the sub-assembly within it report as visible!
can anyone else check and confirm this behavious please. |
|