Message 1 of 3
Linetype - How to catch errors

Not applicable
02-08-2012
10:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I load the linetype file
'' Load the Center Linetype
acCurDb.LoadLineTypeFile(sLineTypeName, gstrc_SFR_LineType_FullFileName)
How do I detect if the linetype is in the Linetype file? How do I do my error checking here in the ACAD way?
Currently I just search the acad.lin or sfr.lin Text File to see if the LineType Exists. This works.
But I was curious how would you check the linetype file via the Acad API,
to see if the linetype definition name exists in the file?