Sorts the elements

Sorts the elements

psx2
Collaborator Collaborator
611 Views
2 Replies
Message 1 of 3

Sorts the elements

psx2
Collaborator
Collaborator

hi,

i've a list of psentity ( 3 items ) and i want to orter it  using the min Y Value.

 

List of psentity have a sort method but i don't know how to use it !!!

 

Thanks.

 

 

Ps. i work with vb net

0 Likes
Accepted solutions (1)
612 Views
2 Replies
Replies (2)
Message 2 of 3

luke.edwards.autodesk
Community Manager
Community Manager
Accepted solution

It should be as simple as something like:

entities.OrderBy(Function(x) x.BoundingBox.MinY)

You will need to refine that code but that should be the general form of it.


Luke Edwards
Consulting Services Manager
0 Likes
Message 3 of 3

psx2
Collaborator
Collaborator

thank's   !!!!

it's ok !

0 Likes