I have a program that creates a new project in autocad electrical. Once the command executes the autocad form comes up asking to name the project. Is there a way to fill in that name and click the okay button through the vba program? i.e. is there a way to focus on those parts of the form and have access to them without pausing for user input?
No. You can't easily manipulate the ACADE dialogue boxes via ACAD VBA. If you come from an Excel or Access VBA background you'll be disapointed with ACADE (Electrical specific) functions. You'll find yourself using VBA to run LISP ACADE API calls; which works...ok, with enough patience.
I suggest you study the WDP file and the WD_M block and use VBA to manipulate. It's a long and painful road, but if you have decent vba or .net skills and take the time to understand how ACADE works, you'll get a good return on your investment.
Thanks for the input. That was what I was afraid of. How do I find out more about the functionallity of the blocks you suggested studying. It seems resources are very hard to come by for electrical.
Your best bet would be to take a class in ACE to understand the basics. There is a lot to learn and it can be a long row to hoe if you just do it on your own.
I have taken training classes and been using the software for about 10 years now. I am only now getting to write some custom apps other than simple scripts. It seems that .NET is the way to go, but it is insanely difficult to find any training on the subject for Electrical specific use. If you have some resources I would love the opportunity to try them. Thanks for your input so far, hope to hear from you again.
I looked a bit more into the topics you suggested and there is still some information that looks inaccessable. Are there any other ideas you can think of? Thanks for the help to this point, I greatly appreciate it. It seems there is always something new to learn in this program.
Start with some of our most frequented solutions to get help installing your software.
The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.