Search the Community
Showing results for tags 'string'.
-
I'm trying to find the latest revision from a list of revisions. The revisions start with A,B,C... Z, AA, AB, AC...ZZ, AAA, AAB, AAC... Then proceed to numbers 0, 1, 2, 3, etc. Any help would be appreciated! (setq testCases (list "A" "AA" "AB" "BD" "AZ" "ZZ" "ZZZ" "11" "10" "9" "2" "1" "0" "Z"...
-
Appending escape characters to escape characters
plackowski posted a topic in AutoLISP, Visual LISP & DCL
;; [INSERT INCEPTION SOUND EFFECTS HERE] ;; Preface: I've built a lisp routine that generates a script. The script then runs a SECOND lisp routine on a series of drawings. ;; I'm having serious trouble passing information from the first lisp routine to the second lisp routine. ;; The first lisp rout...- 6 replies
-
- escape characters
- lisp
-
(and 3 more)
Tagged with:
-
Incorrect Data Type? Using "LM:directoryfiles" function
Ross Dunkley posted a topic in AutoLISP, Visual LISP & DCL
Hi, I am running into problems with my program when I try to use the output from the "LM:directoryfiles" function. If I try to use the output from the "LM:directoryfiles" function (findjgw) I am getting the following error... error: bad argument type: (or stringp symbolp): ("L:\\DESIG...- 3 replies
-
- lm:directoryfiles
- incorrect data type
- (and 3 more)
-
Count Occurrences of Specific String
bcarlso2 posted a topic in The CUI, Hatches, Linetypes, Scripts & Macros
I am trying to script a counter of specific strings. How can I select all occurrences of text that has a specific value? I cannot use filter or quickselect, and I cannot get selection sets to find specified values. Any help would be greatly appreciated. I am using ACADE 2015.- 5 replies
-
- selection set
- script
-
(and 3 more)
Tagged with:
-
Reading Attribute value is being trimmed by empty space
Muthanna posted a topic in AutoLISP, Visual LISP & DCL
Hi everyone, I am a software developer , i program in C# C++ and Java, but lately i have been given a task to help out our engineering department to write some code + script to fix cad prints which they have issues with. our problem is we use a third party application which generates an AutoCad...- 5 replies
-
- autolisp
- autocad2010
-
(and 2 more)
Tagged with:
-
Need help updating TEXT within BLOCK ATTRIBUTES. HELP!
tmelancon posted a topic in AutoLISP, Visual LISP & DCL
When I generate a new drawing it creates a text file with information. Autocad updates text automatically from this file using specific layers that the string is on in the drawing. Depending on what layer a string is on, that will determine what information it is updated with. With that being s... -
How to read hexadecimal ( binary) data from registry
Ahankhah posted a topic in AutoLISP, Visual LISP & DCL
Hi All, as most of you know, (vl-registry-read) is a good function to get data out of windows registry. It works nice for string and decimal number data, but not works correct for hexadecimal (or binary) data. For example, if you issue this: (vl-registry-read "[b]HKEY_CURRENT_USER\...- 6 replies
-
- registry
- hexadecimal
-
(and 3 more)
Tagged with:
-
Hi guys, I'm a new member as you can see, but i've been coming here for many years to find information about lisp. I've done a thread search and haven't located a solution to my issue. I am self taught, so there is only so far i can go without getting the experts involved. My question (i thi...
- 2 replies
-
- lisp
- attribute value
-
(and 1 more)
Tagged with:
-
Hey everyone. Im having a bit of trouble constructing a string. I have my code working perfectly except for one little thing. I want the middle part of my string to be a variable, set by the user earlier in the code, or reading another USER variable. Here is my code so far: (defun C:titld (...
-
extracting individual numbers from one Excel table cell text string such as 12x5.5x36
elmoleaf posted a topic in AutoLISP, Visual LISP & DCL
Hi, I'm attempting to modify Fixo's code at bottom to read data from an excel spreadsheet that's formatted a bit differently than assumed by the code. The code here assumes X, Y, and Z scale each live in a separate exel column/cell. However, I have existing spreadsheets where these dimensions were...- 4 replies
-
- spreadsheet
- functions
-
(and 3 more)
Tagged with: