Csaba Solyom
Mechanical
- Sep 22, 2016
- 14
Hello,
NX version: 1919 (Build 3400)
I'm writing some script that interacts with parts in multi-level assemblies, based on whether they are hidden (Blanked) or not.
Starting point is usually the "root" main assembly, that has several subassemblies containing parts, and occasionally sub-subassemblies.
My issue is that the component.IsBlanked() property doesn't reliably tell my script, whether the part is hidden or not for the user.
If the user hides a part in the main assembly's tree, it will still be "visible" - IsBlanked = FALSE - in the subassembly's ComponentAssembly.
This leads to some confusion for my users, since to them the part looks hidden, but the script isn't doing what they expect.
Is there a way to check a parts "visibility status" that circumvents this issue?
Thanks,
NX version: 1919 (Build 3400)
I'm writing some script that interacts with parts in multi-level assemblies, based on whether they are hidden (Blanked) or not.
Starting point is usually the "root" main assembly, that has several subassemblies containing parts, and occasionally sub-subassemblies.
My issue is that the component.IsBlanked() property doesn't reliably tell my script, whether the part is hidden or not for the user.
If the user hides a part in the main assembly's tree, it will still be "visible" - IsBlanked = FALSE - in the subassembly's ComponentAssembly.
This leads to some confusion for my users, since to them the part looks hidden, but the script isn't doing what they expect.
Is there a way to check a parts "visibility status" that circumvents this issue?
Thanks,