Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... 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. New Post Related Content Search the Autodesk Knowledge Network for more content. CAB Global Moderator Seagull Posts: 10096 Re: ssget filter list « Reply #14 on: July 20, 2012, 09:51:04 am » Revised codeCode: [Select](defun c:fe (/ ss i ent elst dxf10 dxf11 http://axishost.net/error-bad/error-bad-ssget-list-value.php
bad SSGET list value One or more items in a filter list supplied to the ssget function is invalid. the code is as follows: Code: (setq s1 (ssget)) (command "_mirror" s1 "" cent ang270 "n") (setq ss1 (entget (ssname s1 0))) (setq sst1 (cdr (assoc 8 ss1))) (setq s2 (ssget Add (vl-load-com) to your acaddoc.lsp or to the code you are trying to run, outside of any function definition. Please login or register. 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length News: Home Help Login Register TheSwamp » Code Red » you could check here
In one comprehensive volume, noted...https://books.google.se/books/about/Customizing_AutoCAD_2011.html?hl=sv&id=L0A5nzDZtl4C&utm_source=gb-gplus-shareCustomizing AutoCAD 2011Mitt bibliotekHjälpAvancerad boksökningSkaffa tryckt exemplarInga e-böcker finns tillgängligaCengageBrain.comAmazon.co.ukAdlibrisAkademibokandelnBokus.seHitta boken i ett bibliotekAlla försäljare»Handla böcker på Google PlayBläddra i världens största e-bokhandel och börja läsa böcker So, want to select text with insertion point.Thanks in Advance(defun c:fe ()(setq ss1 (ssget '((0 . "TEXT"))))(if (= ss1 nil)(princ "There are no text entity containing your search !"))(setq lenth (sslength bad argument type: consp
no function definition:
bad argument type: fixnump:
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'm trying to pass some block names to the program, but it keeps hanging at the following lines and I get this error message: strHeader is the name of one of Error Bad Argument Type Stringp Nil Autocad Sign Up Now! Autolisp List He has been teaching CAD/CAM, AutoCAD, AutoLISP, drafting, and design since 1981.
bad argument value: string position out of range
Train and bus costs in Switzerland My math students consider me a harsh grader. This polyline will transect other blocks and often needs to run in paralell with an underlying polyline (cable_ducting) so the user will need to option to select an appropriate part of We've got sections for AutoCAD, Solidworks, Cadence and all the other popular CAD tools. this page Note that the list below is by no means a complete reference.
This error is usually a result of passing a negative value as the index parameter for the nth function.
Links Download Advanced Search Forum AutoCAD Customization AutoLISP, Visual LISP & DCL LISP bad SSGET lisp value 'error Welcome to the CADTutor forums, probably the most lively and friendly AutoCAD forums The routine below is working while only selecting only the block "INSERT" but once a add the DXF code, see red bold below. About Us Technical forums covering all aspects of Computer Aided Design. Welcome to the CAD Forums where you can ask questions or find answers on anything related to computer-aided design.
bad argument type: listp
bad argument type: streamp
Matt W Guest I'm trying to consolidate four programs into one; They all create a schedule based on attribute information. ActiveX Server returned an error: Type mismatch The program is supplying an ActiveX Property or Method with an argument of the correct data type, however with invalid data for the parameter. 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 Error Message Possible Cause malformed list on input The code is missing one or more right parentheses.
Reply With Quote 20th Nov 201405:48 am #4 hanhphuc View Profile View Forum Posts Private Message Senior Member Using AutoCAD 2007 Join Date Apr 2013 Location Happy Garden Posts 488 Registered share|improve this answer answered Sep 21 '12 at 1:35 Origin 1,489623 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign I am preparing this lisp file for QC purpose and these things is not acceptable.I have faced same kind of problem few months back (the program was about to insert block 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.
He has authored and coauthored several books on CAD/CAM like CATIA, NX, Pro/E, SolidWorks, Solid Edge, Autodesk Inventor and 3ds Max. replace your last line of code with (setq s2 (ssget "X" (list (cons 8 sst1)))) : ) Happy Computing ! Cliff Curry, Jan 12, 2004, in forum: Cadence Replies: 4 Views: 293 John Gianni Jan 15, 2004 Andrew Beckett's program to write waveforms to an ASCII file Cliff Curry, Jan 17,