Message 1 of 2
Reading DimStyles/Other Styles in different countries using C#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have this code in C#.NET to access the DimStyles on a different project.
It works well with users in one country, but not with another country.
Am I missing anything here?
DimStyleTable pDimensionStyleTbl; using (Transaction acTrans = theDb.TransactionManager.StartTransaction()) { pDimensionStyleTbl = acTrans.GetObject(theDb.DimStyleTableId, OpenMode.ForRead) as DimStyleTable; idDimensionStyleStandard = pDimensionStyleTbl["Standard"]; } pDimensionStyleTbl.Dispose();