Message 1 of 8
SendCommand execute after Form close.

Not applicable
09-16-2015
08:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
On Command Method in my plugin i load a form using following call.
Autodesk.AutoCAD.ApplicationServices.Application.ShowModalDialog(form);
When form loads on a button click event i call ActiveDocument.Utility.GetPoint to get a point on my dwg.
After getting ther point in button click event i call ActiveDocument.SendCommand to create new TextStyle.
SendCommand dont work until i close my form. after closing form commandline ask for textstyle params.
Is there any way i can run SendCommand when my form is on screen.
thanks