WebObtaining Entity Information. The entget function returns the definition data of a specified entity. The data is returned as a list. Each item in the list is specified by a DXF group code. The first item in the list contains the entity's current name. In this example, the following (default) conditions apply to the current drawing: http://lee-mac.com/ssget.html
List Manipulation Functions Reference (AutoLISP)
Weblist (AutoLISP) Takes any number of expressions and combines them into one list . Supported Platforms: Windows and Mac OS . Signature (list [expr ...]) expr. Type: Integer, Real, String, List, Ename (entity name), T, or nil . An AutoLISP expression. Return Values. Type: List or nil . WebJun 21, 2024 · It is possible to do multi level sorts depending on the number of items in the list so for (1 . a) it would be 2, (1 a c) would be 3. Then do a compare function so counts common items. (7 a) (6 a c)(5 a b) etc . I will have a look the list and test needs to be a normal list ( 1 a) its part of a bigger program. It sorts at moment up to 5 deep. gingerbread competition show
ssget Function Reference Lee Mac Programming
http://jefferypsanders.com/autolisp.html Webgive you a good understanding of how DCL interacts with AutoLisp. You should be able Let's get to it. Here is the basic order for things to happen inside the AutoLisp file: (defun C:MyProgram() ; Define the main program (defun myFunction1() ; Define the functions you need like saveVars WebIterative Select all ;; Unique-p - Lee Mac ;; Returns T if the supplied list contains distinct items. (defun LM:Unique-p ( l ) (vl-every (function (lambda ( x ) (not (member x (setq l (cdr l )))))) l) ) Example _$ ( LM:Unique-p '(1 2 3 4 5)) T _$ ( LM:Unique-p '(1 2 3 3 3 4 5)) nil Unique with Fuzz Recursive Select all gingerbread computer