Jump to content
Mr. Tonci Pirovic

sorting offsets

Recommended Posts

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...