Invalid Linetype name

Discussion in 'AutoCAD' started by Jorge Jimenez, Sep 14, 2003.

  1. Hi,
    I'm trying to load some linetypes into a new drawing, from a VB DLL.
    It works for all linetypes except the complex linetypes like "BATTING"

    set Mydoc = Myapp.Documents.add
    Mydoc.Linetypes.Load linetype_name, linetype_file

    For linetype_name = "BATTING"
    VB DLL reports "Invalid Linetype name" and
    AutoCAD reports "shape BAT not found"

    LineType file (acadiso.lin) is fine, it loads fine manualy, and the Shape
    file is where it should be.

    Why isn't AutoCAD finding the SHAPE ?
     
    Jorge Jimenez, Sep 14, 2003
    #1
  2. Never mind, I got it working.
     
    Jorge Jimenez, Sep 14, 2003
    #2
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.