bad argument type: stringp
personnally i am doing array command to generate an image. Can someonehelp.This is the line I'm using.OldLayer and Color are variables(setq Select (ssget "X" (list (cons 8 OldLayer)(cons 62 Color))))this is the error I get.Command: ; error: bad SSGET list valueIf The routine below is working while only selecting only the block "INSERT" but once a add the DXF code, see red bold below. Then it findseverything on that layer, whether its color is BYLAYER or something else.--Kent Cooper, AIA"Thomas Plant" wrote...Post by Thomas PlantI'm trying to create a lisp routine that will select all http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bad-ssget-list-value/td-p/2308950
many thanks buddy. quit / exit abort Either the (exit) or (quit) AutoLISP functions have been evaluated. you are welcome. Posts 116 LISP bad SSGET lisp value 'error Registered forum members do not see this ad.
Radar OnlineMobile Transformation v. replace your last line of code with (setq s2 (ssget "X" (list (cons 8 sst1)))) : ) Happy Computing ! Welcome, Guest. In one comprehensive volume, noted AutoCAD expert Sham Tickoo examines all the various levels of customization in AutoCAD, from the basic topics of creating template drawings and customizing menus to advanced
As an example: supplying a Paperspace Viewport to the activeviewport property, or a Modelspace Viewport to the activepviewport property. Autolisp Cond but i did not understand problem. what am i doing wrong? (SETQ DS (GETVAR "DIMSCALE")) (setq blockname (cond ((tblsearch "block" "fmtb12k6") "fmtb12k6") ((tblsearch "block" "fmtc12k6") "fmtc12k6") ) ; end cond ) ; end setq (setq ss (ssget Powered by vBulletin™ Version 4.1.2 Copyright © 2016 vBulletin Solutions, Inc.
Can be generated by passing any of the c..r functions, foreach, member, nth, or vl-sort-i functions an invalid list argument. ssbp Newt Posts: 23 Re: ssget filter list « Reply #4 on: July 18, 2012, 03:21:13 pm » No.i am looking for X and Y co-ordinates. please help, thanks [ Moderator Action = ON ] What are [ CODE ] tags... [ Moderator Action = OFF ] Last edited by Mike.Perry; 2007-03-09 at 06:39 AM. bad argument type: (or stringp symbolp):
bad argument type: numberp:
You need a relational test looking something like this:
(setq sset (ssget "X" '((-4 . "*,*,>=")(10 0.0 0.0 10.0))))
^this will filter all entities with a group Logged CAB Global Moderator Seagull Posts: 10096 Re: ssget filter list « Reply #3 on: July 18, 2012, 03:07:15 pm » Are you searching for a Y value of Code: [Select](OR Print Pages:  2 All | Go Up « previous next » TheSwamp » Code Red » AutoLISP (Vanilla / Visual) » Topic: ssget filter list SMF 2.0.12 | SMF Invalid initialization list. Visual Lisp
Are you sure you want to continue?CANCELOKWe've moved you to where you read on your other device.Get the full title to continueGet the full title to continue reading from where you bad argument type: listp
no function definition:
So I know the error is with the code62.Thanks.Thomas Kent Cooper, AIA 2004-11-02 22:11:50 UTC PermalinkRaw Message As I recall, a drawing entity will have an (assoc 62) value ONLY if
CAB Global Moderator Seagull Posts: 10096 Re: ssget filter list « Reply #10 on: July 19, 2012, 02:55:20 pm » Quote from: ssbp on July 19, 2012, 01:15:49 pmI am looking Filtering by coordinates isn't seen all that often but it is
built into SSGET. Key not found The program is attempting to use the Item method of a VLA Collection Object to access an item not present in that collection. The command you are attempting to call is not defined.
where x will be 0.00000000 or 0.25000000 or 0.50000000 or..........N & same for Y.how can i provide for (10 *,*,0) ? Usually a result of passing the close AutoLISP function a null or invalid argument. vlax-safearray-fill failed. ssbp Newt Posts: 23 Re: ssget filter list « Reply #2 on: July 18, 2012, 03:03:21 pm » Thanks for your quick reply,I have already gone through these post & tried.
KaleAutodesk - Free AutoLISP CourseAdvanced AutoLISP ProgrammingAutoLispME32-096-R12aRefman1.pdfCA2E Tutorial ENUChap0411-Psm in SQL ServerFunction NotesPLC by CoDeSysChap 07Cross AppsGeneral GPIO3058ALV for FreshersSamejima ModelUntitledmagento-cheatsheetLaTeX核心命令手册FunctionsLan502 ELC01_Cylinderfeed.pdfTaguchi Techniqueselftest 1Z0-043_StudyGuides7jpa70b eBAPI Step by Stepv14i10Books about Parameter (Computer Function cancelled The user has pressed the Esc key whilst running an AutoLISP function. So try this: ... (if blockname (setq ss (ssget "X" (list (cons 2 blockname))))) ... -- bob.at CAD & GIS Services, Graz, Austria schrieb im Newsbeitrag news:[email protected] I have a layer that has concrete and pavement on it.The color for concrete is blue and the color for pavement is white.
Vollständige Rezension lesenAusgewählte SeitenTitelseiteInhaltsverzeichnisIndexInhaltCustomizing Drawings with Viewports 118 2-1 Customizing Menus and Toolbars 5-1 Customizing Ribbon Workspaces and Palettes 6-2 Customizing AutoCAD 2009 6-26 Button Menus 8-1 Tablet Menus 9-1 Tablet All rights reserved. ©1990-2015 Autodesk User Group International, Inc.All Rights Reserved. Showing results for Search instead for Do you mean Search the Community Advanced Search Forums | Ideas Browse by product Products 3ds Max A360 Products Advance Steel Alias APIs and Programming Ask the community.
bad argument type: FILE
Code: (defun C:YOUCOMMAND(/ aaaa bbbb cc cclist pt lay scfr scto) (defun FilterBlkNameX(bbbb valu) (setq aaaa 0 newSet(ssadd)) (while(< aaaa (sslength bbbb)) (setq cc(ssname bbbb aaaa)) (setq cclist(entget cc)) (if(= "INSERT" Still AutoCAD marks those text with a circle. I found something that said the associative codefor color is 62 but it's giving me an error. Logged CAB Global Moderator Seagull Posts: 10096 Re: ssget filter list « Reply #5 on: July 18, 2012, 11:45:29 pm » Looking at your code I came up with this, not
Instead of checking of co-ordinate after selection, I was thinking to select those text only whose insertion point meets above mentioned condition. For
example, to filter both group 10 and 11:
(setq sset (ssget "X" '((-4 . "*,*,>=")(10 0.0 0.0 10.0)(-4 . "*,*,>")(11 0.0 0.0 10.0))))
Thread by Stig
I don't blame you. Use the Lost password recovery form if you ever forget either your password or username.
Usually a result of passing the sslength function a null selection set argument. ActiveX Server returned an error: Invalid index The program is attempting to use the vlax-safearray->list function to convert an empty safearray to a list. Reason: update for everyones use.! Sign In Create Account Help CommunityCategoryBoardArticlesUsers turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches