teknomatika Posted March 1, 2011 Posted March 1, 2011 Already, another challenge for experts from LIPS: In working with various entities overlaid with different colors and layers, you can get a selection of colors of visible entities in the upper layer, ignoring the entities of the same color located in a lower draw order? Quote
Ahankhah Posted March 2, 2011 Posted March 2, 2011 Although I had studied the above thread 5 times, I didn't get the meaning:?! Quote
Lee Mac Posted March 2, 2011 Posted March 2, 2011 You could perhaps use the methods of the SortEnts Table, which can be obtained using: ;;------------------=={ Sortents Table }==--------------------;; ;; ;; ;; Retrieves the Sortents Table object. ;; ;;------------------------------------------------------------;; ;; Author: Lee Mac, Copyright © 2010 - www.lee-mac.com ;; ;;------------------------------------------------------------;; ;; Arguments: ;; ;; space - VLA Layout Block Object ;; ;;------------------------------------------------------------;; ;; Returns: Sortents Table Object, else nil ;; ;;------------------------------------------------------------;; (defun LM:SortentsTable ( space / dict ) (vl-load-com) ;; © Lee Mac 2010 (defun _catchapply ( foo args / result ) (if (not (vl-catch-all-error-p (setq result (vl-catch-all-apply foo args) ) ) ) result ) ) (cond ( (_catchapply 'vla-item (list (setq dict (vla-GetExtensionDictionary space) ) "ACAD_SORTENTS" ) ) ) ( (_catchapply 'vla-AddObject (list dict "ACAD_SORTENTS" "AcDbSortentsTable") ) ) ) ) A few examples here: http://lee-mac.com/draworderfunctions.html But I don't completely understand the question. Lee Quote
teknomatika Posted March 2, 2011 Author Posted March 2, 2011 Lee Mac, tanks. As for your routine: What is the command to call the routine? As for my question. I'll try to explain by example image. Quote
Lee Mac Posted March 2, 2011 Posted March 2, 2011 As for your routine:What is the command to call the routine? It's a subfunction (not a command) it requires an argument (VLA Layout Block Object) and returns the SortEnts Table Object. Take a look at the link to see how it can be called. Quote
ILoveMadoka Posted April 13, 2011 Posted April 13, 2011 To me it looks like he wants to be able to select the object which is in FRONT of other objects when there are several objects overlaid upon one another. When he said... you can get a selection of I think he meant CAN you get a selection of...?? This one is definitely going to need clarification... Quote
alanjt Posted April 13, 2011 Posted April 13, 2011 If it's selecting the wrong object of an overlapping group, just use Shift+Spacebar to cycle through the items to find the one you want. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.