I have set up a dimension style in vb .net, I am having rouble setting the suffix and the linear precision?
Here is what I currently have:
Dim acDimStyleTbl As DimStyleTableacDimStyleTbl = acTrans.GetObject(acCurDb.DimStyleTableId, _ OpenMode.ForRead)
Dim sDimStyleName As String = "test"
Dim acDimStyleTblRec As DimStyleTableRecord = New DimStyleTableRecord()
acDimStyleTblRec.Dimscale = 20acDimStyleTblRec.Dimtxt = 0.18acDimStyleTblRec.Name = sDimStyleName
acCurDb.Dimstyle = acDimStyleTblRec.ObjectId
I need to add a single quotation mark for the suffix ( " ie: inches ) and I want the precision at '.00' Any help or advice would be greatly appreciated!
Go to Solution.
Have you tried using the "DimStyleTableRecord.Dimpost" and "DimStyleTableRecord.Dimdec" properties ?
Hope it helps.
Thanks, this did work. The only problem I had was triny to get " to show up for inches and I got that to work by using:
DimStyleTableRecord.Dimpost = (Chr(34))
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.