AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Editor.Command("_.WALLBODYCONVERT", entlast, "_Y", point3D1, point3D2, "\n", "\n");

1 REPLY 1
Reply
Message 1 of 2
cesar_mayorine362SG
866 Views, 1 Reply

Editor.Command("_.WALLBODYCONVERT", entlast, "_Y", point3D1, point3D2, "\n", "\n");

Hello,

 

I am using the following command in Autocad (using .net):

 

Editor.Command("_.WALLBODYCONVERT", entlast, "_Y", point3D1, point3D2, "\n", "\n");

 

it works BUT a window appears which must be closed after pressing the OK button.

How can I close that window programmatically, (naturally as if the user presses OK!)

 

Best Regards

 

César

 

 

1 REPLY 1
Message 2 of 2

I know this is an older post but I have had success using AutoIt to control windows that I do not have access to.  I have used it in the past to automatically close windows or click OK buttons to close windows.  You can do this using just C# and .net but this makes it easier.

https://www.autoitscript.com/forum/forum/42-c-net/

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report