Search the Community
Showing results for tags 'command string'.
-
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
- 4 replies
-
- command string
- command
-
(and 2 more)
Tagged with:
-
Read information from drawing and use it in a command string
Taurenis posted a topic in The CUI, Hatches, Linetypes, Scripts & Macros
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;- 17 replies
-
- plotting
- page setup
-
(and 2 more)
Tagged with:
-
Tool Palette Layer switching with multiple operations in command string
CADSinT posted a topic in AutoCAD Bugs, Error Messages & Quirks
[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!- 1 reply
-
- layers
- command string
-
(and 1 more)
Tagged with: