Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LumpoDelMagnifico

    VBA Print To PDF from DWG

    Actually I think I resolved most of these issues. The printer you referenced doesn't seem to work with a batch print. I wish there was better documentation of the print function from VBA.
  2. LumpoDelMagnifico

    VBA Print To PDF from DWG

    Can anyone tell me how to print a series of drawings using the VBA printing PLOT object to print to a PDF? I am having several problems with this. It works fine on my machine with an older version of Distiller, but not everyone here has distiller and I can't seem to find the version I have...
  3. LumpoDelMagnifico

    Rotate Drawing Using VBA

    I am trying to determine if a drawing is longer Vertically than it is Horizontally. If it is I want to rotate the drawing by 90 degrees. Does anyone have any idea how to check the max dimensions using VBA and then how to rotate the drawing? I used to do this in Lisp using the following...
  4. LumpoDelMagnifico

    Help Identify a Wierd ACAD Error

    That was pretty funny. Thanks for the insight Borgunit.
  5. LumpoDelMagnifico

    Help Identify a Wierd ACAD Error

    It's not a BETA, But it might be a Virus. I just thought it was wierd and wondered if anyone else had the same thing.
  6. LumpoDelMagnifico

    Help Identify a Wierd ACAD Error

    it happens when ACAD starts up. Actually I haven't seen it in a few months but I have an old screen shot of the error and was wondering what it is.
  7. LumpoDelMagnifico

    Help Identify a Wierd ACAD Error

    Does anyone have any idea what the autocad Error "Blue" means? This is all I have. It is an exclamation mark and the word "Blue" and just an OK button.
  8. LumpoDelMagnifico

    Rotate a drawing using VBA

    Can anyone tell me how to get the maximum height and width of the actual drawing objects in a DWG? I have several drawings that are rotated 90degrees from the usual position in order to facillitate an older printing program. I want to write a program that compares the height of the drawing to...
  9. LumpoDelMagnifico

    Turning off Regen in AutoCAD VBA

    I am using a VBA macro to open and print a series of drawings. Currently, VBA will Regen any drawings made with an older version of AutoCAD before it does the print. I would like to prevent this if possible. Does anyone know how I can turn off the REGEN when I open a drawing? Here is the code I...
  10. LumpoDelMagnifico

    Printing to Acrobat Distiller from AutoCAD VBA

    Does anyone know a good way to avoid the prompt for filename and view output in Acrobat when printing to Acrobat Distiller? I can specify a .pc3 file but then it plays havoc with my print settings and my drawings come out all screwy. What I would like to do is print the drawings to PDF...
  11. LumpoDelMagnifico

    Running VBA macro at startup.

    Thanks IFRS you rock!
  12. LumpoDelMagnifico

    Running VBA macro at startup.

    IFRs I am not sure how it would work. I have tried using the autolisp startup file to run a vba app but I just got an error. Do you have any idea how to do this?
  13. LumpoDelMagnifico

    finding the path in VBA

    Borgunit, This doesn't seem to work. I cant quite get it to work with VBA from autocad. I already have the SHfolder.dll file on my machine but I can't seem to access SHGetSpecialFolder. Soat this point I can't seem to use this. Also this doesn't seem to work in VBA for autocad. Do you have a...
  14. LumpoDelMagnifico

    part numbers, how many digits do you have?

    We use random part numbers for our small parts inventory, All of which begin with PC so you can have PC001234 is a lock washer for a motor bolt and part number PC001235 is a blower fan for a 500Hp Motor. Believe me , the only sensible way to do it is logical part numbers. For our VFD products...
  15. LumpoDelMagnifico

    finding the path in VBA

    Is there any function in VBA autocad that will return the full path of either the My Documents or Desktop folders? object.GetSpecialFolder only returns windows,temp or system folders.
  16. LumpoDelMagnifico

    Running VBA macro at startup.

    this works fine, Thanks WMO. I would still like to run a macro at startup though If anyone knows how to do this, let me know.
  17. LumpoDelMagnifico

    Running VBA macro at startup.

    I want to have a button that runs a VBA macro when clicked. I don't really care if I have to run this macro(Although it would increase portability) or I have to set it up in autocad. The code slice above creates a new toolbar, adds one button to it and docks it to the top left of the toolbars It...
  18. LumpoDelMagnifico

    Running VBA macro at startup.

    I already load the VBA Apps from the startup suite. I am using the following sub to make the toolbar and button. Sub addtoolbar() Dim mytoolbar As AcadToolbars Dim MyButton As AcadToolbar Dim objmenugroup As AcadMenuGroup Dim newbutton As AcadToolbarItem Set...
  19. LumpoDelMagnifico

    Running VBA macro at startup.

    Can anyone tell me how to run a VBA macro every time I launch AutoCad? I have a Macro button that I want to add to the toolbar. I use a VBA sub called "AddToolbar" but the next time I Launch Acad the toolbar button is gone. So, what I want to do is set autucad to run "AddToolbar" everytime I...
  20. LumpoDelMagnifico

    Run VBA Macro at startup

    Can anyone tell me how to run a VBA macro every time I launch AutoCad? I have a Macro button that I want to add to the toolbar. I use a VBA sub called "AddToolbar" but the next time I Launch Acad the toolbar button is gone. So, what I want to do is set autucad to run "AddToolbar" everytime I...
Back
Top