几何尺寸与公差论坛

 找回密码
 注册
查看: 713|回复: 0

【转帖】bug in component2ishidden

[复制链接]
发表于 2009-4-13 09:22:44 | 显示全部楼层 |阅读模式
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 02:51 , Processed in 0.034736 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表