- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have to reorder the occurrences in the assembly. I have tried using the browserpane reorder method, it only changes the order in the model tree. But when I try to get the component occurrences from assembly document using "ComponentDefinition.Occurrences" api, I get the old order only. Can someone suggest me something which I can do? Because If I am not getting the occurrences in the order I set in browserpane, then it will block my functionality.
Example: We have structure like this:
Assembly
->Part1
->Part2
->Part3
Now I want to move Part3 above Part2.
So, using the reorder functionality of browserpane, i am able to achieve the new order in model browser pane.
Assembly
->Part1
->Part3
->Part2
But when I try to get Occurrences from Component definition of assembly, I get structure like this only:
Assembly
->Part1
->Part2
->Part3
Solved! Go to Solution.