Jump to content

Search the Community

Showing results for tags 'prompt'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CADTutor
    • News, Announcements & FAQ
    • Feedback
  • AutoCAD
    • AutoCAD Beginners' Area
    • AutoCAD 2D Drafting, Object Properties & Interface
    • AutoCAD Drawing Management & Output
    • AutoCAD 3D Modelling & Rendering
    • AutoCAD Vertical Products
    • AutoCAD LT
    • CAD Management
    • AutoCAD Bugs, Error Messages & Quirks
    • AutoCAD General
    • AutoCAD Blogs
  • AutoCAD Customization
    • The CUI, Hatches, Linetypes, Scripts & Macros
    • AutoLISP, Visual LISP & DCL
    • .NET, ObjectARX & VBA
    • Application Beta Testing
    • Application Archive
  • Other Autodesk Products
    • Autodesk 3ds Max
    • Autodesk Revit
    • Autodesk Inventor
    • Autodesk Software General
  • Other CAD Products
    • BricsCAD
    • SketchUp
    • Rhino
    • SolidWorks
    • MicroStation
    • Design Software
    • Catch All
  • Resources
    • Tutorials & Tips'n'Tricks
    • AutoCAD Museum
    • Blocks, Images, Models & Materials
    • Useful Links
  • Community
    • Introduce Yourself
    • Showcase
    • Work In Progress
    • Jobs & Training
    • Chat
    • Competitions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 8 results

  1. Is it possible to select objects by layer using only the command prompt, I know it is possible to select objects by other means but I'm specifically trying to use the command prompt to run a script which will go on to cleanse dxf files. If not, does anyone now of a lisp routine which would enable this to work? Can lisps be called in scripts (have never tried)? Trying to select objects (blocks) to scale them to their correct size, now I'm sure their are other ways of doing this too but for some reason these particular blocks are "phantom" for want of a better word. And, cant be edited by double clicking them! The general idea is to cleanse the data as much as possible (set layers, colours etc) with no input from the end users. Hope the above is clear and thanks in advance for any and all help
  2. What I will select is a 3d polyline. (defun c:coord ( / e r) (prompt "\nchoose a onject!") (setq e (entget (car (entsel)))) (setq r 1) (setq count 0) (while r (setq e (entget (entnext (cdr (car e))))) (if (/= (cdr (assoc 0 e)) "SEQEND") (progn (terpri) (princ (cdr (assoc 10 e))) ;print the co-ordinates (setq count(1+ count)) ) (setq r nil) ) ) (prompt "\nThere are total " );In here how to print "There are total (count ;number) vertexes in this object." (princ) );defun (princ) Do I express clear??I want to put the variable "count' in the prompt,for example,I got the count equal to 4,what I want to do is to print on the screen: "There are total 4 vertexes in this object."is that possible?Thanks.
  3. I have a bunch of drawings from our client that were created for construction purposes and were originally made in a Microstation 3D parametric environment so is full of blocks with embedded layers. Some layers are either not necessary for my 2D work or do not comply with our layername standard, so have been merging the unnecessary layers to 0, so I can move the blocks to proper AIA cad layer names. Is there a way to get "inside" the layer merge command and change the default delete prompt from No to Yes, so I can use the mouse R-click to accept, rather than having to type in Yes everytime?
  4. dford62

    AutoCAD P&ID properties

    Hello, Is it possible to set up a project so that when a new instrument is placed the user is automatically prompted for details of the properties which complete the Instrument List Report? Thanks for any help.
  5. knafziger

    AutoCAD 2013 LT Command prompt

    Hi There, I seem to have lost the ability to use short-form commands in the command prompt. I was able to do it, and not I can't. I don't know what changed. For instance.... I can type in 'LINE' and the line command will initiate; However, I cannot initiate the line command by typing in 'L'. I have tried to change it through the CUI with no luck. Other commands like, move and copy are effected too. Please help!
  6. hi all I work using AutoCAD 2010 i think an old drawing that i have taken over was created using cad2007, and due to the compatibility issues between them, every time I save the dwg (Ctrl+S) i get prompted/asked whether I realllly want to save the drawing in 2010 format (yes/no) It's always yes. is there a way to permanently disable this prompt either: - for just this drawing, or - for all dwg's i work on in the future ??
  7. CADalyst

    Value Changer

    I am new to this forum and LISP programming so please bear with my lack of knowledge. I have a couple of hundred blocks which I'm interested in changing the values of specific tags using lisp (or something else). I have lots of different blocks, and they all have two attributes. The tag for attribute 1 is "X", with a value of "100" The tag for attribute 2 is "Y", with a value of "200" Is is possible to change all the blocks in the drawing, such that the attribute 1 value is renamed from "100" to "1", and the attribute 2 value is renamed from "200" to "2". I would like, if possible, to preserve and leave unchanged the tags associated with the respective attributes, and change only the value. So basically, once the script is done, I will still have the blocks with the same attributes, just different tag values. To clarify; I'm interested in replacing attribute values rather than changing attribute tag names. I hope this makes sense and that it is possible. Many Thanks
  8. In the past, I've seen a lot of questions about this particular topic so I have decided to put together a short tutorial surrounding the idea of prompting a user whilst offering a default option to select. I welcome any comments or feedback about how I could make the tutorial better, and furthermore if there are any mistakes found. The tutorial can be found here. Regards, Lee
×
×
  • Create New...