Wanted to custamize the AutoCAD through VB

Discussion in 'AutoCAD' started by Santhosh, Jul 19, 2004.

  1. Santhosh

    Santhosh Guest

    Hello,

    I wanted to know how to use this AutoCAD object in VB for customization.
    I wanted to create an templet of my own drawing. As soon as I open AutoCAD I should be able to get my templet.

    SO please help me in this regard
     
    Santhosh, Jul 19, 2004
    #1
  2. Santhosh

    MP Guest

    first, reference the acad library in your project
    then connect to acad, creating an instance of the object
    then use its methods and properties to do what you want

    are you wanting to save the current drawing as a .dwt file?
    is that what your saying?

    I should be able to get my templet.
     
    MP, Jul 19, 2004
    #2
  3. Santhosh

    kamalesh Guest

    Hi,

    You can give the location path of the directory containing all your templates in the Options dialog of AutoCAD Drawing file.

    Do the following:

    Command: OP
    Then click the FILES Tab, In that select DRAWING TEMPLATE FILE LOCATION and type the path or browse for the path.

    Hope this will help you,
    Regards,
    Kamalesh.
     
    kamalesh, Jul 20, 2004
    #3
  4. If your looking to use the same template all the time, or most...You could
    set up QNEW if your version applies or change the Target of the icon on
    your desktop to start with your Dwt. (Select Acad Icon and>
    Rclick>properties)

    "C:\Program Files\Autodesk Architectural Desktop 3\acad.exe" /t
    "YourTemp.Dwt"

    Paul
    templates in the Options dialog of AutoCAD Drawing file.
    and type the path or browse for the path.
     
    Paul Richardson, Jul 20, 2004
    #4
  5. Santhosh

    Santhosh Guest

    Hello,

    Thank you for the replay,

    Actually there are some standard drawings that are used frequently in a respective categories. for e.g. suppose if an KITCHEN templet will contain drawing related to kitchen. As soon as the user opens the KITCHEN templet. The related shapes(drawing's) should open in the left side of the drawing window so that user can drag and drop the his/her selected shape(drawing) to the drawing window to produce his own drawing and save it.

    NOTE: If you have seen Microsoft Visio product then it will be easy to understand.

    Please enlighten me in this regard.

    Thanking you,
    Santhosh
     
    Santhosh, Jul 22, 2004
    #5
  6. Hi,

    Why not simply use the AutoCAD palettes. They work in the same general way
    as Visio.

    Although I haven't seen the latest Visio (a ten year old version suits my
    needs), I'd be surprised if it did much (other than link lines) which you
    can't do in AutoCAD without programming.

    --


    Laurie Comerford
    CADApps
    www.cadapps.com.au

    respective categories. for e.g. suppose if an KITCHEN templet will contain
    drawing related to kitchen. As soon as the user opens the KITCHEN templet.
    The related shapes(drawing's) should open in the left side of the drawing
    window so that user can drag and drop the his/her selected shape(drawing) to
    the drawing window to produce his own drawing and save it.
     
    Laurie Comerford, Jul 22, 2004
    #6
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.