Mr. Tonci Pirovic 3 Report post Posted June 29, 2014 Hi, i'd like to sort an offsetgroup by x position of the included offsets ( which led me to my other post today... :) )...duplicated offsets should be deleted...i've tried with sortbyaxis and mergegroups functions but with no success... appreciate your advice...thanks!Tonci Share this post Link to post Share on other sites
Mr. Claus Abt 14 Report post Posted June 30, 2014 HI Tonci, What is the origin of your offsets? Do you try to sort them during the import from a file?CheersClaus Share this post Link to post Share on other sites
Mr. Tonci Pirovic 3 Report post Posted June 30, 2014 Hi Claus, offsets are extracted from two section groups and then added to one offset group...I'd like to clean and sort resulting offset group before using it in foreach statement... Brgds,Tonci Share this post Link to post Share on other sites
Mr. Claus Abt 14 Report post Posted June 30, 2014 Have you seen the functions "remove duplicates" and "removeStrictlyMonoticViolation"? Which can be applied to Offsets. CheersClaus Share this post Link to post Share on other sites
Mr. Tonci Pirovic 3 Report post Posted June 30, 2014 Hi Claus, in attached file I've played with offsets in removeDuplicateOffsets scope...offsetgroup ofgr2clean is set such to have two pairs of duplicated offsets... I was hoping that ofgr2clean.removeDuplicates() will delete two frames from the list but it wasn't so...could it be that removeDuplicates function acts on points inside the offsets and not on offset inside the offsetgroup? I guess removeStrictlyMonoticViolation function has the same scope ( offset points rather then offsets ) ? Brgds,Tonci sortOffsetGrup.fdbc Share this post Link to post Share on other sites
Mr. Tonci Pirovic 3 Report post Posted July 8, 2014 Hi, I've prepared two features which sort/remove duplicated offsets from input offsetgroup. Each has to be updated on request... Brgds,Tonci :) sortOffsetGroup01.fdbc Share this post Link to post Share on other sites