Visual Basic & AutoCAD LT 2004

Discussion in 'AutoCAD' started by isotech, Jun 7, 2004.

  1. isotech

    isotech Guest

    Can anybody tell me if it is possible to change values in drawing properties using Visual Basic. For example....

    I need to change values for Title & Custom properties.

    Can anybody tell me how this can be done?

    Many thanks in advance!!!

    IsoTech Group
     
    isotech, Jun 7, 2004
    #1
  2. Hi,

    The first requirement is to upgrade the LT to AutoCAD so that you can run
    VBA.

    --

    Regards


    Laurie Comerford
    www.cadapps.com.au


    properties using Visual Basic. For example....
     
    Laurie Comerford, Jun 7, 2004
    #2
  3. LT does not have an API or any type of VBA as Laurie stated. But, for what
    you are asking it is possible using full VB with the reference to the
    Microsoft Scripting Runtime. Then using the FileSystemObject, you could
    change the Title and any custom properties expoed thru the document
    summary. This however would not change any attributed values within the
    drawing itself [unless LT2005 supports FIELDs]

    -- Mike
    ___________________________
    Mike Tuersley
    CADalyst's AutoCAD Clinic
    Rand IMAGINiT Technologies
     
    Mike Tuersley, Jun 7, 2004
    #3
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.