Results 1 to 6 of 6

Thread: Load Line types in Autocad

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    32

    Load Line types in Autocad

    Hello,

    I am creating Autocad VBA Application which creates a Drawing in Autocad,
    I require the centerline and the doted lines in the drawing, first when i started the Autocad application works fine since i had manually loaded the line types,
    but when a new file is open and no line types are loaded, the VBA application gives the error,

    Can Some body explain me th procedure to loading /calling atleast these two line type at the startup when VBA program is executed.

    Regards

    Praveen Kumar Kulkarni

  2. #2
    Lively Member
    Join Date
    Dec 2005
    Location
    UK
    Posts
    127

    Re: Load Line types in Autocad

    are they some kind of presets you need to install ?

    if so you'll need to allow for this in your code / system settings page to point to the specified directory and copy the files in

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    32

    Re: Load Line types in Autocad

    no they are not to install,they are present in the Autocad file
    I think we have to call them using initialization procedure.

    I am not getting the procedure

    Thanks for your concern

    regards

  4. #4
    Lively Member
    Join Date
    Dec 2005
    Location
    UK
    Posts
    127

    Re: Load Line types in Autocad

    im not familiar with automation ... couldnt you create a dxf file ? and import it ? to .cad ?

    http://en.wikipedia.org/wiki/AutoCAD_DXF

    ^^^ wiki file definition info

    Application ID (APPID) table
    Block Record (BLOCK_RECORD) table
    Dimension Style (DIMSTYPE) table
    Layer (LAYER) table
    Linetype (LTYPE) table <<<<<<<<<< ???
    Text style (STYLE) table
    User Coordinate System (UCS) table
    View (VIEW) table
    Viewport configuration (VPORT) table

  5. #5

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    32

    Re: Load Line types in Autocad

    i want to load the line type files in the runtime,

    certain users do not configure the line types and just run the product, they will come across the error and the program will crash,

    well dxf file import system wont workout

  6. #6
    Lively Member
    Join Date
    Dec 2005
    Location
    UK
    Posts
    127

    Re: Load Line types in Autocad

    sorry dude im all out of suggestions you might be best off trying a thread in the graphics forum something like 'how to set line types in autocad' this isnt a deployment question its more automation / graphics related

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width