Group Selection Not honored with creating a Selection Set via (ssget..
My support request is closed, I think this was fixed in the official release of v14. But I am not sure. I know that it is not working now. I filled out a new support request but I am not getting any feedback. What happens I the SSget set the object that is within cursor as the object #1 in the selection set. Then the group order is honored for the 2nd,3rd.... and so on. Since my program package is designed to generate milling programs this would cause major problems for the user. I am really excited about marketing my software with BricsCad but I am about to give up. I could spend a lot of time creating a work around but this will cost me a lot of time that I don't want to spend.
I think this was fixed in 14.1.7 but I can't easily go back to this version.
Comments
-
Hello, Rodney,
I'm already working on this problem ...
the initial fix as published in an early V14 release showed some (unwanted) side-effetcs, so it was partially reverted.
But (ssget) shoud still provide the generic sequence of entities in a group.
I will keep you updated on the request.
If we can not ensure the proper and intended entity sequence in selectionset, I will provide you a code snippet
to add to your application - that code snippet will ensure generic sequence in both BricsCAD and AutoCAD then.
Many greetings !0 -
Dear Rodney,
I have answered your request, and also attached my testing results with ACad 2008, 2014 and BricsCAD V14.1.11 -
so here only the essence :
AutoCAD does *NOT* guarantee the entity order within selection set, I found several scenarios where the entities
inside selectionset are not in their generic order, as defined by the group;
furthermore, Acad 2014 seems to be more inconsistent here.
With BricsCAD V14.1.11 the entity order (based on generic order of the entities in their group) is always ensures
by (ssget) - in all testing scenarios (where ACad was not consistent !), the entity order created by BricsCAD was
constant and correct.
Besides, as I mentioned previously, it is very risky to rely on entity order within selectionset ... even if Autodesk states
that it ensures generic order, it doesn't.
So in conclusion, if your application logic requires the original, generic entity order, you will need to cross-check the selectionset
against the groups and their entities by your own code - at least for AutoCAD.
If you need asisstance, I can provide such a sample code for entity-ordering based on their group membership.
I hope, the test logs as attached to your support request are of evidence enough ?
Many greetings !0