Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm 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. rocheey

    create a menu button to run VBA app

    Here's a way to do it entirely thru VBA code. Put the following code into its own code module, and run the "Menu main" command. It creates a new, top level menu, and 4 sub menus. You'll want to change the name of the Main menu ("My&Menu"), the name(s) of the Sub menus("My&SubMenu"), and the...
  2. rocheey

    3d dxfs

    The reason version 12 dxf's usually work, when newer versions don't, is that after v12, some acad entities were renamed: polylines became LightweightPolylines, or 3dPolylines, and software written to look for just "Polyline" wont find them. If you cant export to version 12, then try exploding...
  3. rocheey

    Point Open File Window to a specific directory

    Its a 'feature' (spell "bug") in the way VB/A handles "CurDir". From distant memory, I remember solving it by using an API call to set the 'current' directory before making the Common Dialog call. Sorry that I dont remember the specific API ca;;, but I rememember I didnt have to hunt far to find...
  4. rocheey

    VBA/OLE strange, semi-repeatable error

    It worked like a charm; thanks a boatload. I still dont understand why, by not fully qualifying the range(s), that the code did not tank consistently, though.
  5. rocheey

    VBA/OLE strange, semi-repeatable error

    Ive written a routine that runs from AutoCad 2007. It scans the drawing for information, using early binding, starts up an instance of Excel, creates a new workbook, and writes the data. Works perfectly every single time. But now Im trying to sort the columns (and then format the cells...
  6. rocheey

    Owner of XRecord?

    I was scanning thru a DXF, and noticed the custom info embedded inside. I wrote some code to parse each entity in the drawing, and got some XData off of it, but still not the specific info I had seen/wanted in the DXF. It is in an XRecord, and im not sure which one. How do I find which...
  7. rocheey

    VBA Viewport to ModelSpace coordinates..

    There is either a 'bug' in all the code Ive seen to extract this data, or there's something missing. All the code Ive tried is *slightly off* when mapping to modelspace. The code that I *have* run that seems to work fine actually draws a rectangle in paperspace, does the equivalent of a...
  8. rocheey

    VB group codes for Groups

    Im attempting to try the filterdata on a selection set. Straightforward enough for graphic entities; but how could i filter for a "Group" object itself?

Part and Inventory Search

Back
Top