Submitted by DhanyZdeb on Thu, 08/01/2013 - 01:02
Forums:
Hi guys,
I wander if someone could help me. I try to export a part with linked bodies. The problem is, how to export only the displayed bodies and not all (including the hidden ones). I have used ThePart.Views.WorkView.AskVisibleObjects and it works fine with assemblies and parts without any linked bodies. However, it crashes once it hits part with linked body. I guess the solution might be in getting the tags from worklayer only, but I do not know how to get it.
Cheers,
Daniel
re: export
Are you exporting dumb bodies (parasolid, step, etc) or parametric bodies to a new .prt file?
Can you post the code you have so far?