Message 1 of 6
Error loading a Multiline style

Not applicable
06-17-2006
03:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
Has anybody ever used db.LoadMlineStyleFile() to load a MlineStyle into a
drawing?
I succeeded in loading all styles with a workaround: insert a drawing with
all styles in it. But I think it's more elegant to use mentioned function,
and load only the requested style (instead of all).
db.LoadMlineStyleFile(sMlineStyle, sMlineFile) gives me the error:
eFileAccessErr.
But:
- filename and path are correct (i tried with "\", "\\", "/" and the AutoCAD
search path system)
- the mln file can be found
- the file is not protected or opened in another application
- the filelocation is also not protected
- no problems when manually loading a style from this file (with mlstyle >
Load)
Does anyone have an idea what causes this error eFileAccessErr to appear?
Tnx.
Henk - CAD Accent
Has anybody ever used db.LoadMlineStyleFile() to load a MlineStyle into a
drawing?
I succeeded in loading all styles with a workaround: insert a drawing with
all styles in it. But I think it's more elegant to use mentioned function,
and load only the requested style (instead of all).
db.LoadMlineStyleFile(sMlineStyle, sMlineFile) gives me the error:
eFileAccessErr.
But:
- filename and path are correct (i tried with "\", "\\", "/" and the AutoCAD
search path system)
- the mln file can be found
- the file is not protected or opened in another application
- the filelocation is also not protected
- no problems when manually loading a style from this file (with mlstyle >
Load)
Does anyone have an idea what causes this error eFileAccessErr to appear?
Tnx.
Henk - CAD Accent