AutoCad :: Execute Line Command Like A Single Command?
Oct 27, 2013line command is a multiple command. there is a way to execute it like a single command?
View 4 Repliesline command is a multiple command. there is a way to execute it like a single command?
View 4 RepliesI need to do a form of automation, but wanting to execute this from another process (self-made application). Adobe Photoshop has this mechanism called "Droplets" that are executable based upon Actions defined in Photoshop (as far as I can understand). Is it possible to let AI do some work for you from an external application as with Photoshop (assuming you are able to execute the executable once it has been created)?
View 4 Replies View RelatedI need to save a drawing file and give it the name of my desire using a single command, I don't want to issue "saveas" and then specify the name in the file name prompt. This problem is has been faced when I was using ScriptPro and I couldn't succeeded to do that. Hence I need to know if it is feasible to do the stuff using a single command. It will be preferred if I can choose the location to save the file also rather than save the file to the default location.
View 2 Replies View RelatedI have created a dll that I can run from the command line just fine. However, I have been asked to do the following:
When the user opens a drawing a button will appear. When the user clicks on the button the command contained in the dll will be executed.
I don't know how to do this and haven't been able to find much on this. I am using AutoCAD 2011.
I press CTRL+9 to make the Command Line disappear while drawing. When I plot (or when doing a plot preview) , the Command Line appears again by itself. So I always have to turn the Command Line off manually after each plot
The bug still happens;
- if Dynamic Input is turned off or on
- if I plot to a real device or in PDF
- if the Cammand Line Palette i docked or floating.
This is not an issue in AutoCAD 2012 so I guess it has to do with the new way they programmed the revamped Command Line palette in 2013.
Using Windows7
How to execute -Overkill command in autocad using batch process.
View 2 Replies View RelatedHow do I use CUI to assign CTRL+M to execute the '_PAN command ?
View 4 Replies View Relatedwithout reiterating a lot of what is said in this thread: [URL] ......
This happen outside the potential malware infection?
if you care to not click-through, the problem is that certain commands (not all of them) simply do not disply in the command line. so the MOVE command for example looks like this:
NORMAL:
Command: _move
Select objects:
NOW:
Command:
Select objects:
same with QSAVE and who knows how many others.
I'm trying to execute a pedit command in a lisp routine, without echoing, with no luck...
cmdecho and nomutt dont resolve my problem...
I would like to execute scalelistedit command with auto added parameters (Reset - Yes - Exit).
My
doc.SendStringToExecute("-scalelistedit R " + "
" + "Y" + "
" + "E", true, false, false);
And doesnt work - I'm getting "Invalid option" and it seems like instead of R, passing is A option (Add).
I am running Inventor 2012 sp2.
Even with a simple IPT that only has a handfull of features, at times it takes a long time (3-5 minutes, sometimes longer) for Inventor to execute a undo or redo command.
Undo file size setting in Application options is set at 1MB (which is teh same setting I used in previous versions).
I want to execute a .JSX file by using Mac Terminal Command like i am doing in MS Windows by using following cmmand: C:/ start illustrator.exe Script.jsx
its working fine but i want to do the same thing in MAC, i am working on an Application in that I am using CS6 SDK to add some functionality in my Adobe Illustrator, but didnt find any method to execute JSX files directoly from VC++/CS6 SDK.
Trying to execute a script with the #include command.
It works great when the path does not conatin any spaces but else it fails and say that it cant find the file. Even networkshares work without spaces.
You may think that i have not tried to enclose it in " " signs but i actually have tried that with no success
#include Y:scriptsClintEastwoodscript.jsx //WIN!!
#include Y:scriptsClint Eastwoodscript.jsx //FAIL!!
#include 'Y:scriptsClint Eastwoodscript.jsx' //FAIL!!
#include "Y:scriptsClint Eastwoodscript.jsx" //FAIL!!
I have a user in my group that is hesitant to upgrade to 2012 because , he has many lisp routines that are associated with the PREVIOUS selection feature. This selection is very useful in that when you are moving or selecting many objects you can enter P for previous and the object will be selected.
In 2009, when you select objects then hit escape, then try to execute a command requesting to use the Previous, AutoCAD will remember the last selected object and then highlight it.
In 2012, when you select objects then hit escape, then try to execute a command using P for previous, it will not highlight the previous object selected but will highlight the previous object where a command was executed on.
Hope I haven't lost you. It seems there should be a setting under SELECTION of how to manipulate the Previous selection feature.
how to draw a certain line and be able to delete part of it.
Example 1: I would like to draw a bunch of seried resistors, so I made a bunch of rectangles and draw a wire across them. But there are wire crossing through each one of them, how do I remove/erase that part in between each of the resistor? The line is made by using command: LINE
Example 2: Drawing some polygon and random shapes. Simplest example, drawing a half circle, so I draw a circle and want to remove the other half, how do I do it?
Yes, I know in example 1 I can do one object first then copy paste... But that is not what I am asking. I am seeking the command how to remove the lines or object in between.
Autocad2008 has the Break, Break at Point, and Dimension Break tools. There may be other variations of the break command, but I'm not able to fined a way to quickly use any of these commands to create a very simple single break point on a single segmented line at an unequal segment. I'm surprised Break at Point doesn't fit the billet.
Example:
I've drawn vertical line 10 units long. I would like to place a single break point at 7.956 units from either endpointe of that very same line. This is not a polyline. When selected it is depicted as a line with two equal segments.
The purpose of the break is so that I can intersect a horizontal line at 7.956 units located on the vertical line.
It seems to me that with all of the break tools available, one of them should be able to accomplish this simple task on the fly. Even most basic CAD programs such as Draft It, has a break tool that performs this function easily and quickly with one mouse click and one single text box entry.
Also, the fastest way I have found to accomplish this task is to simply draw another vertical line 7.956 units over the original vertical line, and that allows me to attach my horizontal line at 0 or 180 degrees from the vertical 7.956 units. I then go back and delete the second vertical line.
When we launch the Area comand the area value is hold in the system variable "area".
What is the system variable that holds the Length value of the selected entity?
if I select a line, then enter the move command, the line unselects also when I select a line, then hit delete, the line is still there both of these used to work
2013 Civil 3D
Basically I got a process which is quite long , let's say 30 seconds.
I want put a counter at command line showing to
user how many objects has been processed so far. But I don't want to use New Line Feed to change the line and keep each new number at same line and same location of command line.
AutoCad 2011. I am having no luck when trying to drag a command from the Command List pane to the Quick Access Toolbar. I have success draging to Tool Palettes
View 1 Replies View RelatedI am currently writing a series of routines for setting the layers for text, leaders and dimension commands. The end goal is a system where any annotation command sets the correct layer for the duration of the command, then reverts back to the layer that was active before the command.
I have managed to complete all the code, and it appears to be working fine, I just have one question: I have used -layer "m" "Lay_name" etc... for all layer setting commands, rather than any code to see if the layer exists already. In my limited testing this seems to be suitable, nothing that exists on that layer seems to be affected.
I know how to write code to determine if the layer exists already and set the layer instead, but so far it seems unnecessary??
After installing the VBA Module, I get the message "Unknown command "VBARUN"". I've rebooted, restarted and tried reinstalling the VBA Module to no avail.
View 4 Replies View RelatedI used send command for Export Layout..But the line only executes after exiting command method.
View 9 Replies View RelatedI've been searching for a command that could actually cut lines for purpose. For example, if I'm drawing a 2 line crossed, wish I could cut the 2 lines so they are now 4 segments. On a circle, I could actually draw a line that pass trough the circle on cut it off the way I wish. Does such command exists for autoCAD? Very often, I've many lines at the same time that I wish I could cut with a single one. The problem is that I don't wish to trim 'em and extend (losing time and long process). Sure there is also the div cmd, but this isn't what I'm seeking for.
View 7 Replies View RelatedI had a problem this morning where for some reason I needed to do a drawing recovery on a map - which is fine, all seems well.
The problem is that now when I type a command, it doesn't appear next to the cursor anymore. It's not really a NEED having it there, but I've gotten to like that in the newer CAD versions, and now I can't find the setting that makes it come back. Sure I CAN type everything and have it show just at the bottom of the screen, but I'd rather have my dynamic field back.
How I can restore it?
This is the problem I have. When I type something, ie a line length or a command, ie purge, whatever it is I type it is not shown in the command line... what am I doing wrong or what setting do I need to change..
View 3 Replies View RelatedCommand line for Dimension Fit
View 1 Replies View Relatedmy command box has mysteriously vanished (more than likely my own doing) and I would really like it back!
View 3 Replies View RelatedFrom my .NET dll I need to get the command line parameters that were used when AutoCAD was launched.
In the unmanaged world I used acedGetAcadWinApp.
Is there a .NET equivalent?
I am writing a API in .NET. I can send commands to the AutoCAd command line using the sendCommand feature but can i access the result returned too? I am not able to find the right class/function the redirect the command result back to my API
View 3 Replies View RelatedI have a problem and as this has happened the first time I fire up autoCAD I can see that I am not going to have as easy a time as I did with 3D studio Max.
I found a tutorial on line, and it was talking about the command line, so i was entering points like it said, fine. I had to put it down as something came up at work. Go back to it to play some more, now I can no longer specify points in the command line, pressing space or enter just clears everything and asks to specify a point again.
What have I don't to make this happen, or is it a bug in the program. I have tried restarting again but still no.