Exchange Forum > Search Forums
Search Results
Search Results

Nugent

AutoCAD General
Adding commands to acad.pgp
  F1T1P1#4  Another method, besides exiting AutoCAD, is by using the REINIT command to reinitialize the acad.pgp. Your changes will not be...
AutoLISP and Visual LISP
Open last drawing saved
  F2T12P1#5  Pheonix, How are you coming along with your VBA functions. If you need some help PM me or just let me know. I tested you code...
Open all last drawings
  F2T15P1#2  I’m glad I could help you with this. Your program is working out pretty cool here at work. There were only a few that didn’t care for it...
ActiveX and VBA
Vlax.cls for VBA and AutoLISP apps.
  F6T7P1#1  I’ve been looking into Vlax.cls by Frank Oquendo for passing variables between AutoLISP and VBA. In the attached example...
  VlaxExample1.lsp   VlaxExample1.dvb   VLAX.cls  
  F6T7P1#3  In your BorderInfo program I replaced all your “End” commands with “Unload Me” and the error message does not appear. There is a...
  F6T7P1#5  Mark, I should have explained it in more detail. I'm new to VBA also. That's why I like the concept of this VLAX.cls function. Here's...
  F6T7P1#7  Mark, I know you mentioned that you prefer not to use the VLAX.cls module, but I think you have to use the VLAX.cls module for this...
  F6T7P1#10  Mark, I couldn't get your code to work until I commented out and changed a few things. Thanks for the link info. I'll take a look at it...
  F6T7P2#12  Oh I see what your trying to do. Here is a few things I tried on the command line that might be help us out here. First I setq A to...
  F6T7P2#14  This code is short and sweet. To run the Lisp2VBA first use (setq A "something"). Thanks for the tip. Dim VL As Object Sub...
  F6T7P2#16  I'm only going to be using numbers and strings for now, but I retested your code again with strings and it's running fine. Dim VL As...
  F6T7P3#21  Mark, I'm getting some sort of bad DXF group error. I'll have to debug it later. Here's what I've got so far. Dim VL As Object Private...
  Vba2Lsp.lsp   Vba2Lsp.dvb  
  F6T7P3#24  Mark, I used your revised functions and still get the same error message. bad DXF group: (1 . #<variant 8 This is just a test.>) I see...
  F6T7P3#25  I just changed this line from "value As Variant" to "value As String". Function PutLispSym(symbolName As String, value As String)...
  F6T7P3#27  I fixed it! You were right about it had something to do with first declaring my variable types. I looked up the CStr function and it...
  Lsp2Vba.lsp   Lsp2Vba.dvb  
  F6T7P3#30  Cool! I had to really try hard to find a tif file on my computer. They're mostly jpgs, gifs and some bmps. Also I added the "Set VL =...
  F6T7P4#32  Can you revise your code to also accept jpg images? I have lots of them, but only one tif image. Later on this afternoon I plan on...
  F6T7P4#36  Mark, The last one works great, but the one before it ran one time only. I had to copy an image into my current drawing folder for it to...
  F6T7P4#39  It stops on the first line beginning with "Public Const" and displays the Visual Basic message "Constants, fixed-length strings, arrays...
  F6T7P5#41  Yes, much better! You might have had a few settings different in your Tools / References than mine which might have been the...
  F6T7P5#44  Dante, I had all ready looked into it a little and got the same variant list. Thanks for the code. It was really messed up coping it from...
  F6T7P5#48  I think there's a typo or somethings wrong with the line: Sset.Select acSelectionSetLast...
  F6T7P6#51  From what I can understand from those functions, they are only passing variable values back and forth. I think a selection set may be...
  F6T7P6#53  I tried pasting your new code into your LB.dvb file and it doesn't do anything now. I guess I broke it. "Nugent; In the project I sent to...
  F6T7P6#54  I tried pasting your new code into your LB.dvb file and it doesn't do anything now. I guess I broke it. "Nugent; In the project I sent to...
  F6T7P6#56  Mark, I wouldn't be concerned about that. Some people started programming with VBA and others started programming with...
  F6T7P6#58  Hey, I finally got a chance to run your LM.dvb program. It's works great. The only thing that I wish you could add it to do a zoom...
VBA code with AutoLISP
  F6T8P1#2  I like this idea Dante. I've been working on a few things and will post them when I get further along. Nugent...
  F6T8P1#3  This routine was suggested by a co-worker. It uses AutoLISP for the basic code and VBA to control the dialog. I've incorporated...
  SlotSpecs.lsp   SlotSpecs.dvb   SlotSpecs.jpg  
  F6T8P1#5  Hi there. I already have the dtr function. I was just trying to make it less complicated, but I could definitely use it here. I think the layer...
  F6T8P1#6  Dante, I was surprised how easy it was to incorporate the dtr function and the layer option into the code. Here's what I came up with...
  SlotSpecs2.lsp   SlotSpecs2.dvb   SlotSpecs2.jpg  
Playing Sounds in AutoCAD
  F6T9P1#5  Dante, Why not have the VBA code driven by AutoLISP similar to the thread on VBA code with AutoLISP? This way someone could...
  PlayWav.lsp   PlayWav.dvb  
  F6T9P1#10  I've been doing some research after testing somethings in PlayWav and came up with this new version named PlaySound. Unlike...
  PlaySound.dvb  
  F6T9P2#11  I discovered a problem with PlaySound this past week and maybe someone can help me solve it. The program will only play sound...
  F6T9P2#13  Dante, I've been testing some sound files with your revised version and it works great. I'm able to play a lot more songs without going...