+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Forum Newbie
    Using
    AutoCAD LT 2010
    Join Date
    Oct 2010
    Posts
    3

    Angry Access to Acad DWG problem

    Registered forum members do not see this ad.

    Hi guys, my first time here but not going to be my last.
    Firstly this is what I would like to do. I have a button on an Access form to open a form called Drawings and this has a Access picture control and text box on it and is used to view a drawing plan. This is fine as it stands but doesn't allow me to do any editing etc and save it back to access. So what I want is to be able to click the button open the form and then be able to open the drawing for editting etc. I guess a viewer might be a good option or perhaps VBA. I really am struggling on this and hope you can come up with some good solutions - I hope so. Quite happy to work with someone on this just need a solution. Grateful for help TIA.

  2. #2
    Super Member Dana W's Avatar
    Computer Details
    Dana W's Computer Details
    Operating System:
    Windows 8 64 bit
    Computer:
    Dell XPS ONE 2710
    Motherboard:
    Dunno
    CPU:
    Intel I-5 3330S @ 2.7 Ghz
    RAM:
    6 Gb
    Graphics:
    On board barely adequate
    Primary Storage:
    1 Terrabyte
    Secondary Storage:
    1 Terrabyte external
    Monitor:
    All in one 27" touch & pen
    Discipline
    Construction
    Dana W's Discipline Details
    Occupation
    Independent Architectural Draftsman
    Discipline
    Construction
    Details
    Residential Homes, Construction and Renovation
    Using
    AutoCAD LT 2009
    Join Date
    Feb 2010
    Location
    Chuluota, Florida
    Posts
    1,770

    Default

    This is MS Access, right?

    You may need to modify the Access program code to add another button which would launch AutoCAD itself. You can't edit a dwg in a viewer program. It looks like Access is already launching a viewer program. The dwg does not get "saved back to Access". Access merely gives you a path to the program that opens the drawing.

    You can change the Access form by copying the original button and changing the name of the executable it launches to a cad editor, but I suggest adding a whole new form for editing with limited rights to it.

    I can't help with the Access coding. It has been 15 years since I did any of it, and it has changed quite a bit since then.
    Yogi Berra: "In theory there is no difference between theory and practice. In practice there is."

  3. #3
    Forum Newbie
    Using
    AutoCAD LT 2010
    Join Date
    Oct 2010
    Posts
    3

    Default Access to Acad DWG problem

    Hi Dana W, I have been playing about with DBPix which allows some degree of functionaltity and have been looking at some others which claim to allow editing but!!??. Yes I can get a button to open the viewer but seeing the dwg is another matter. The funny thing is if I leave the control as a picture control I can press the button and the plan shows ok. The seems to be getting the viewer to see the DWG.

  4. #4
    Senior Member
    Using
    not applicable
    Join Date
    Nov 2006
    Location
    Melbourne Australia
    Posts
    181

    Default

    Quote Originally Posted by Dana W View Post
    . You can't edit a dwg in a viewer program.
    This. AutoCAD drawing files (.DWG files) contain a 3D data structure that can only be edited by AutoCAD or similar CAD systems. Images viewers such as you describe only deal with a 2D view and while they can be handy to view a 2D shapshot of the DWG contents on an Access I would be extremely interested to learn of one that could a) reliably edit a DWG b) keep up with periodical changes to the DWG file structure.

    As Dana suggested, wire an Access button to start AutoCAD to edit the DWG file associated with the Access-stored image then Export a bitmap from AutoCAD to reflect any changes.

  5. #5
    Forum Newbie
    Using
    AutoCAD LT 2010
    Join Date
    Oct 2010
    Posts
    3

    Default

    Registered forum members do not see this ad.

    I do understand your point hugha and Dana's suggestion is virtually what I have got anyway but as always the boundaries have to be pushed a little. I am also looking at VeCAD which it is claimed can do what I am trying to do unless you know any different of course. You know with all the technology and know how out there I just can't believe that this is not possible.

Similar Threads

  1. Problem with acad.lin
    By BLOACH85 in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 30th Mar 2009, 03:55 pm
  2. Problem With Acad.lsp
    By MR MAN in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 17th Feb 2009, 08:15 am
  3. LDD problem with microsoft access
    By aussihammer in forum Civil 3D & LDD
    Replies: 23
    Last Post: 24th Oct 2008, 02:05 pm
  4. ACAD Mechanical Problem.
    By Hickoz_bro in forum Mechanical
    Replies: 4
    Last Post: 2nd Jun 2008, 03:24 pm
  5. ACAD Mechanical problem.
    By Hickoz_bro in forum AutoCAD 3D Modelling & Rendering
    Replies: 2
    Last Post: 28th May 2008, 02:14 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts