Results 1 to 4 of 4

Thread: startup script for acad version

  1. #1
    100 Club
    Join Date
    2003-07
    Location
    Boston, MA
    Posts
    186
    Login to Give a bone
    0

    Default startup script for acad version

    I am new to the revit api but have vba experience. Could someone help to lead me in the right direction.
    Basically i want to set acad2004dwg as the default for exporting to cad. I was thinking this is best done w/application startup
    ThisApplication On startup
    Autodesk.Revit.Enums.ACADVersion.R2004()

    maybe something similar to this.
    any help is appreciated.

    Thanks.
    Last edited by Michael Coviello; 2008-07-25 at 06:47 PM.

  2. #2
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: startup script for acad version

    The ImportExport sample command shows you everything you need to know.

    Cheers,

    Guy

  3. #3
    100 Club
    Join Date
    2003-07
    Location
    Boston, MA
    Posts
    186
    Login to Give a bone
    0

    Default Re: startup script for acad version

    Hi,
    I'm having trouble locating the sample. I launch the IDE through revit but i can't find where the samples are located. Please help.
    Do you know where i could find a chart of the revit object model?
    Thanks.

  4. #4
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: startup script for acad version

    The SDK is in every 2009 installation. You can download it during installation under utilities or after installation in the C:\Program Files\Revit Architecture 2009\Download\Utilities\Common\Software Development Kit directory. It's also on the dvd.

    don't know about a chart , but you can browse the RevitAPI.dll by loading it as a reference in your project and double clicking . This will open it in the object browser.

    Cheers,

    Guy

Similar Threads

  1. acad.exe - No Disk message at startup
    By Dawso in forum Software
    Replies: 0
    Last Post: 2013-02-20, 09:29 PM
  2. 2010: Acad 2010 crash on startup
    By bk2gsta in forum AutoCAD General
    Replies: 0
    Last Post: 2011-09-10, 12:40 PM
  3. Cannot Startup ACAD 2009
    By Jack Cheong in forum AutoCAD General
    Replies: 5
    Last Post: 2008-11-15, 02:00 PM
  4. Run a script that sets Variables from a button or drawing startup.
    By SRBalliet in forum AutoCAD Customization
    Replies: 9
    Last Post: 2006-02-21, 11:45 AM

Posting Permissions

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