Community Search
Didn't find what you're looking for?
Ask the community.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
708 results
Sorted by:
Hello I have a serious problem with saving drawings that are modified using "sendstringtoexecute". When my code only does the "sendstringtoexecute" commands, everything is fine, and AutoCad's m...
Hello, I'm trying to run a DIMLAYER command on AutoCAD. After I put a layer name it does not execute. I run this line: Application.DocumentManager.MdiActiveDocument.SendStringTo...
...now it's actually executing but it seems like it's doing its thing out of order. Can anyone shed light on what's going on here, and if there's a way to have more control over how SendStringToExecute r...
The code snippet below shows my problem to cancel an active command. Can someone show me a way to do this? //Calling a button on a palette
private void btnFunction_Click(object sender, Ev...
Hello, I've searched a lot, but I didn't find any solution for my problem. I've function written in C#: [CommandMethod("GDF")]
public void d...
Hello everyone When sending a command to the cmd line, the error seen in the attached image occurs. how can i fix this? char d = '"';
doc.SendString...
I have a class that I am writing that will change the ToolPalettePath. I am using the SendStringToExecute and am finding it difficult to send an <ENTER> at the end of the command. &l...
Hello all, I'm trying to have my application zoom to the extents of the drawing after everything else has been completed and then save/quit. It seems simple enough to just use this code: D...
...bsp; using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Runtime;
namespace revMarkCreate
{
public c...
Show results in replies (5)
-
Hi, This is a well known issue: - SendStringToExecute does not run synchronously....
-
In the meantime, invest the time in adding drawing entities directly (as opposed to sending command...
-
Hi,Gilles I got the following code, but I am not familial with VB.NET,could you give me a sample o...
-
...cedCmd(IntPtr resbuf); public static void Command(ResultBuffer args) { a...
-
thank you Gilles, i'll try this.
Is it possible to update a combobox.selecteditem during a sendstringtoexecute command? the code below sets the drawings current layer to a selected entities as desired but then i want to u...