|
-
Feb 17th, 2010, 08:46 AM
#1
Thread Starter
Member
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
-
Feb 17th, 2010, 09:11 AM
#2
Lively Member
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
-
Feb 17th, 2010, 09:16 AM
#3
Thread Starter
Member
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
-
Feb 17th, 2010, 02:43 PM
#4
Lively Member
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
-
Feb 17th, 2010, 03:05 PM
#5
Thread Starter
Member
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
-
Feb 17th, 2010, 07:41 PM
#6
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|