Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by wlhijlke

  1. wlhijlke

    autocad PAGE SETUP

    I solved this similar problem in my own plot program with this: sendkeys "pagesetup " ,true When invoked vba waits until the pagesetup is executed. Willem from the Netherlands
  2. wlhijlke

    How do you get blocks to have the same handle

    mstg007, During the life time of a drawing, all handles to entity's are unique. That means that blocks can't have the same handle to it!!! Regards, Willem Willem from the Netherlands
  3. wlhijlke

    Minimising a form

    VBA forms are defined in the windows standard API call, so the minimize button is always positioned top right corner. Willem from the Netherlands
  4. wlhijlke

    How to Re-Insert an Excel Spreadsheet

    Adrian, If you are familiar with Paperspace and Modelspace the problem you describes isn't that hard at all. Try this: Paste your Excelsheet in modelspace, do not scaled it or what so ever. Goto the paperspace tab and create a viewport with mview. <command> mspace <command> zoom extents...
  5. wlhijlke

    Automated Drawings

    I'll will see if I can find shaft on my old acad12 disk's, I'll be back onto you. Willem from the Netherlands
  6. wlhijlke

    Script Files

    Before you convert DXF into DWG you must use the NEW command in your script (don't forgot the period) , this is nesseserly to import all entity's from the DXF, and keep in mind that long file names must have double quote's around it. If you useing a2000 or higher set the SDI(Single Document...
  7. wlhijlke

    How to use a Previous Plot Setting in autocad200x VBA

    Hello Cracks, I know that in autocad200x a batch plot program exist, but it's not useable for my work because of different AutoCAD settings. So here is my problem: I made a simple routine in VBA that plot multiple drawings with the chosen plot setting from my program and store those settings...
  8. wlhijlke

    How to request web data via macro from excel

    Hi, Try ADO in your code then you can connect to a url. To use ADO see the MSAccess help files for futher information. P.S. I'm still learning how to use ADO so I can't give you examples for your problem, but I know it's possible! Good luck.
  9. wlhijlke

    replace point by coma macro in a range

    That's easy, use the taskbar goto start control panel and open regional and language settings. Goto the Regional tab then select Customize button and set these options: <Digital symbol> = , <Digital grouping> = (select the value with no , or .) <List Seperator> = , Apply or Ok Start excel and...
  10. wlhijlke

    Replace block with attributes, VB

    Hi, I now that it is posible in vba, but there already exist a lisp routine called attredef.lsp that will do the job. This is how it works: 1 - insert (exploded) your newly created block outside the drawing 2 - start with at or attredef and select the attributes you needed 3 - select the new...
  11. wlhijlke

    .dwg to .dwt script file problems

    Hi, Try this in your script: fileopen <drawing.dwg> saveas Template <enter key> Good luck ;-)
  12. wlhijlke

    Hole in a Solid

    Hi, You need todo the following steps: set the UCS on the side you want to treat. draw a (polyline)rectangle. use the EXTRUDE command or button and select the object enter a heigth and no taperangle. use the SUBSTRACT command or button and select the main object and then the object you want...

Part and Inventory Search