Insert OLE?

Discussion in 'AutoCAD' started by Nathan Taylor, Sep 6, 2004.

  1. In AutoCAD 2005 there are methods and properties for OLE objects but there does not seem to be a way to add new OLE objects. Before I waste too much time I thought some one here may know how it can be done.

    Regards - Nathan
     
    Nathan Taylor, Sep 6, 2004
    #1
  2. Hi Nathan,

    Before you waste any time, do an assessment of whether you actually want to
    use 1980's technology.

    --

    Regards


    Laurie Comerford
    www.cadapps.com.au
    does not seem to be a way to add new OLE objects. Before I waste too much
    time I thought some one here may know how it can be done.
     
    Laurie Comerford, Sep 6, 2004
    #2
  3. Hi Laurie
    What would you suggest I do instead?
    What I have is 250 - 300 drawings with corresponding RTF files. The RTF files are also used in Adobe InDesign files.
    Any suggestions are appreciated.

    Regards - Nathan
     
    Nathan Taylor, Sep 6, 2004
    #3
  4. Nathan, what is in the RTF files? I mean besides text info is there
    anything special -- do you have to have the colors, fonts, etc.?

    -- Mike
    ___________________________
    Mike Tuersley
    CADalyst's CAD Clinic
    Rand IMAGINiT Technologies
    ___________________________
    the trick is to realize that there is no spoon...
     
    Mike Tuersley, Sep 6, 2004
    #4
  5. A sample is attached Mike. They require only fairly basic formatting. The reason they are being stored as a RTF is so that the same file is linked to both AutoCAD & InDesign.
    Regards - Nathan
     
    Nathan Taylor, Sep 6, 2004
    #5
  6. Hi Nathan,

    So your target process is to have an RTF file which is created and edited in
    some form of Word processing program and then displayed in AutoCAD and
    Microstation ?

    And you want the current version of the file displayed in drafting programs
    ?


    --

    Regards


    Laurie Comerford
    www.cadapps.com.au
    reason they are being stored as a RTF is so that the same file is linked to
    both AutoCAD & InDesign.
     
    Laurie Comerford, Sep 6, 2004
    #6
  7. What I am currently doing is just replacing existing linked OLE objects in AutoCAD as they have become corrupt within the drawings.

    Longer term would be to completely streamline the current process which involves maintaining StripMaps with a narrative in AutoCAD. These maps are simply plotted out and our printroom uses the print as artwork to produce hundreds of copies to be distributed to our branch offices. Also the maps are converted to postscript and used in Adobe InDesign files to create travel itineraries for the web. The program used to convert the drawings does not handle MText or OLE objects hence the need for a seperate file that can be linked to both applications.

    I have already flagged the possible use of sheet sets to create multipage DWF's negating the need for InDesign and allowing the use of MText. In the meantime though I have in theory worked out how I can replace the OLE objects.

    Thanks - Nathan
     
    Nathan Taylor, Sep 6, 2004
    #7
  8. Problem solved with a 2 part VBA\VB solution.

    VBA Part
    For each DWG in a folder open the DWG.
    Use SendCommand to run the INSERTOBJ command.
    Save drawing.

    AutoCAD waits for the INSERTOBJ Dialog to be dismissed before drawing is saved.

    VB Part
    Looks out for INSERTOBJ Dialog & sends the necessary keys needed to insert the relevant RTF.

    Regards - Nathan
     
    Nathan Taylor, Sep 7, 2004
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.