progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#2213 by jouni
Tue Jan 27, 2015 4:17 pm
Hello

I have noticed that the order of the selectionset members has changed. Earlier (2010) the order was same as the creation order of the items. How could I reverse the order?

Little example:

I draw five points, lets say numbers 1,2,3,4,5
I select those points ( method can be whatever, it will not change the order)
I loop trough the selectionset (for each...next) and put the point coordinates to the message box or file.
The first coordinates are the coordinates of the point number 5.
So the order of the selectionset members is not the same as the order of the creation.

Is this a bug?

#2214 by jouni
Wed Jan 28, 2015 2:24 pm
This is solved by setting the system variable SORTENTS value to "0". The value was "127" by default.
In the script I used a command ThisDrawing.SetVariable "SORTENTS", "0"
There is still some differencies between 2010 and 2014.

Recent Topics

User avatar Reloading ProgeCad2016

by caddit

Wed Apr 05, 2017 11:33 pm

Default Avatar Start ProgeCad by C# dll Error

by ftauto

Mon Mar 20, 2017 3:44 pm

User avatar Mathcad Prime 4.0 Released

by caddit

Wed Mar 08, 2017 10:40 pm

User avatar Lisp routine help

by caddit

Wed Mar 08, 2017 10:30 pm

Default Avatar Classic/Ribbon menu help

by SClapham

Sun Feb 19, 2017 11:04 am

Twitter

About Us

Welcome to Ausstralia/New Zealand's CADDIT CAD software forum. CAD CAM Forum for support and discussion regarding AutoCAD, progeCAD IntelliCAD, Geomagic Freeform, Mathcad, CNC software.

This forum offers free support for progeCAD by qualified technical staff. Thank you for visiting.

CADDIT.net

The CADDIT.net team