I started working on pml to automatically label all spools in marine drafting. It's now quite of time as every time I see something I should have added inside code, or changed to be easier to use.
First I was collecting the ADDE form specified view, and then running the loop to collect all the members, and then sort them by unique attribute pcrfa under their owner in hier (BRANCH). But there are two problems, sometimes spool is combined of multiple branches and then I have same spool label twice for every branch that have members in that spool, and second major problem when the designer's use option SLICE, then view is limited and the elements (ADDE MEMBERS), are not shown at the view but they are still there, so they are label also. To avoid this I'm now using the VSCAN option, and here is where I need some help, how can I SORT UNIQUE like in collection, elements that are collected with VSCAN. As I have all elements that are not tubi and with shop attribute true, I would like to sort them by the pcrfa attribute, so will only one element carry the label of spool.
Hope my explanation is good, and please have in mind I started month ago with PML.:smug:
Hello, I just wanted to update that I found an solution, as i didn't know that vscan has the same functionality as collect, now the pml is up and running but still need some adjustments to be 100% correct. Thanks anyway!