I am not looking to plot linestyles, but to list if they are Physical, or if they have a scale factor applied, and possibly more.
Having to individually identify each one in the dialog box and use the interface to verify these types of settings is tedious and time consuming. So if anyone has come up with a better approach, I would love to try it out.
sounds like a job for vbaMan!
MicroStation user since 1990 Melbourne Australia.click link to PM me
You can use reports in MicroStation Connect to get a listing of linestyles and their properties. I ran the report in my linestyle.dgnlib.
To set it up, choose the Line Styles item type and then add the Name, Physical, and Snappable attributes to report on in the columns definition.
I get the following report:
The line scale factor applied could be reported from the lines in a file with the line item type.
Answer Verified By: caddcop
An old MDL from Ask Inga would document the linestyles in a file so you can visually see them. It might help.
Here is the link for the download of DOCLS_V8.ma :
Lorys said:sounds like a job for vbaMan!
I think you overestimate VBA abilities and features ;-)
In my opinion, standard native code (C++) application is required to obtain all details about line style(s) from its name to graphical representation. Even when NET API has become much better in CE, it's still limited and also more buggy than C++.
But I agree these types of applications are missing in MicroStation world :-(
Labyrinth Technology | dev.notes() | cad.point
This helped a lot. The scaling I refer to is an undocumented feature of the line style editor. If you double click on a line style's name, a dialog box opens and in one field. there is a default value of zero. That may mean this field's capability is OFF. Changing it to a nonzero positive number will result in that line style being scaled by the value entered. We had some linestyles drawn for use at 50 Scale by leaving them at a scale of 1. Since these should have been "Cosmetic" we needed to scale them down by 1/50 or 0.02. Using this feature allows us to use those linestyles and not have to try and recreate them to the proper scale. But confirming which linestyles are using this features is still unfortunately a manual process. But now I can quickly see which linestyles are cosmetic, since only those were effected by this issue.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration