VBA values to AutoLISP
F6T5P1#1
I'm new to VBA. I have created a VBA dialog form with the information for my project which is in AutoLISP code. It's too difficult for me...
F6T5P1#4
I don't know where to go after the Accept button is clicked. Attached is an image of my project and the VBA dvb code. Here is the...
BorderInfo.gif
BorderInfo.dvb
F6T5P1#6
Initially I want to be able to populate a title block with the information. But later on after I get more advanced, I want to do other things...
F6T5P1#8
The block attribute tags are the same names as the labels in the VBA form. However, I don’t feel it is in my company’s best interest to...
F6T5P1#10
Sorry for the confusion, but this is basically all I am trying to accomplish in my project at this point. I'm not that advanced in VBA yet...
F6T5P2#12
I appreciate your help. Your pasted image was too large for my screen. I had to scroll 2 times before I could see the information on...
F6T5P2#14
I am concerned that if someone uses the modified BorderInfo block that does have my program, that they might do something stupid...
F6T5P2#16
I haven’t given up on my project, and I did some research and came across an interesting method that is available to transfer VBA...
BorderInfo.dvb
F6T5P2#19
I just pasted in your code and ran the program again this morning. I like the concept but I need a little more work on my lsp routine. I’ll...
F6T5P3#22
Sorry about that! Well I got it working, but it echoes an "Execution error" to the command line when it finishes. I have no idea of how...
BorderInfo.dvb
F6T5P3#24
JPS, Thank you for your code. I have been trying to implement it into my previous version, but I'm having trouble. It seems that the...
BorderInfo2.lsp
BorderInfo2.dvb
BORDER-C.dwg
F6T5P3#26
I like it! However, I'll probably rename my SetqVars function to another name. I'm still passing my AutoLISP variables to VBA via the...
Vlax.cls for VBA and AutoLISP apps.
F6T7P1#2
Nugent, This is a very cool alternative for passing variables back and forth between VBA and AutoLISP. I have a question that...
F6T7P2#18
I found this related code by John W. Anstaett a few months ago, but haven't had a chance to figure it out yet. It might be something...
TalkToVlisp.cls
F6T7P5#43
I visited that link this evening and reformatted the code for VBA. It took me about half an hour to take out all the extra spaces and...
Test.dvb
F6T7P5#45
Here's a function to change a variant to a value. You would use it like: (setq D (variant-value D)) = (list "VBA" 100 1.234) (defun...
F6T7P7#62
Mark, Happy New Year! We've been very busy starting new projects here at work. I haven't had that much time to get back to...
VBA code with AutoLISP
F6T8P1#1
The link for the VBA code that I've attached was suggested by Mark, aka member name ML0940. This code is a great find, and...
Test.dvb
F6T8P1#4
Nugent, I like it! The only thing I would suggest would be to add the DTR function below and maybe add the list of drawing layers to...
Playing Sounds in AutoCAD
F6T9P1#4
VBA has some built in modules for playing wav files. Here's one example that you can play around with. I'm not sure about all the...
F6T9P2#12
I couldn't figure it out either. I even crashed AutoCAD testing some different options in VBA. But just to play it safe, I revised your...
F6T9P2#15
Kyle, Thanks for your suggestions. Dante...
|