Jump to content

Search the Community

Showing results for tags 'command string'.

  • 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

Categories

  • Programs and Scripts
  • 2D AutoCAD Blocks
  • 3D AutoCAD Blocks
  • Images
    • Backgrounds

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 3 results

  1. Hi all, First poster here! Thought I would start of with something small. Does anybody know how to create a (new) Quick Leader command that has a DOT arrowhead default? I have tried to play around with the command macro (^C^C_qleader) but to know avail. Any help will be greatly appreciated. Have a great day and thanks for stopping by:D. Buzzy
  2. Dear CAD specialists, is there a way to read information from drawing (e.g. content of a specific text object, content/value of specific attribute or any other object that I can place in a layout) and then put that information in a command string? LISP is not in the range of solutions as: 1) I haven't had time to dig into it 2) I have quite a few LT users who also need to be able to use my solution Simple example of the problem I have an object with a value "5". I would like to draw a polyline with a width equal to that object's value ("5") using a Tool with a command string: ^C^C_PLINE;\width;[read object's value];[read object's value]; The real problem I have created PageSetups for different paper sizes for our plotter as well as for creating PDF and plt files. PageSetups include custom paper sizes. To simplify plotting I have created tools for each paper size with a command string e.g.: for plotter: ^C^Cpreview;-plot;N;;_A3_HP500;HP500_A3_A3.2_A3.1_A3.0.pc3;N;N; for pdf file: ^C^Cpreview;-plot;N;;_A3_DWG to PDF;CP_DWG To PDF.pc3;~;N;y; Explanation ^C^C: cancels all the previous commands preview: leads to print preview so the person can check if drawing is OK -plot: invokes plotting N: is the answer to question whether detailed plot configuration is necessary [empty]: uses default (actice) layout name for layout to be plotted _A3_HP500: is the name of PageSetup HP500_A3_A3.2_A3.1_A3.0.pc3: is the name of output device N: is the answer to question whether to write the plot to a file N; is the answer to question whether to save changes to PageSetup The last question which is answered manually is whether to proceed with plot What I would like to do is create a tool which reads the PageSetup name and output device name from something that I can define along with (or within) a layout. Each layout would contain 6 source objects/fields (plotter/pdf/plt x PageSetup/name of output device). This way I could use one tool for plotting, one for creating pdf file and one for creating plt file disregarding the current paper size The command string would look smt like: ^C^Cpreview;-plot;N;;[value from drawing A1];[value from drawing B1];N;N;
  3. [Maybe this item is covered somewhere in the forum already, but to me it was impossible to find] Hello, Tool Palettes are useful to force certain drawing operations into specific colours, layers, line weights etc. Drawing in layer A, it can be used to draw a dimension in layer B without manual switching layers and AutoCAD will maintain using layer A. For some reason this does not comply with multiple operations like ^C^C_textsize;5;_mtext; Starting in Layer A it switches to Layer B but it will not return to Layer A again, unlike single operations. Does someone know why, a solution or a workaround? Thanks in advance!
×
×
  • Create New...