Hello All,
I can ceate a Dim style but how I fit the text not Auto I wand do it insite
this I have:
if (null != dimstyle)
{
dimstyle.ArrowLength = 18 * scale;
dimstyle.TextHeight = 18 * scale;
dimstyle.TextGap = 6.8 * scale;
dimstyle.ExtensionLineOffset = 0;
dimstyle.ExtensionLineExtension = scale;
dimstyle.LengthResolution = 0;
doc.DimStyles.Modify(dimstyle, dimstyle.Id,false);
//RhinoApp.WriteLine(string.Format("Dimstyle \"{0}\" added.", dimstyle_name));
doc.DimStyles.SetCurrent(dimstyle.Index, false);
}
Robert