Hello
I want to use 'Architectural Tick' Dimension Style.
The following is the code in 'AddEntities' Sample Source and I added two lines for the properties ArrowType1 and ArrowType2.
private void AddDimensionStyle()
{
byte a = this.cadImage.Converter.GetArrowTypeByName("ArchitecturalTick", 0);
CADDimensionStyle vDimStyle = new CADDimensionStyle();
vDimStyle.Name = "TEST";
vDimStyle.TextStyle = this.cadImage.Converter.StyleByName(cnstStyleChinese);
vDimStyle.DIMDEC = 2;
vDimStyle.DIMTIH = false;
vDimStyle.DIMTOH = false;
vDimStyle.ArrowSize = 10;
vDimStyle.ArrowType1 = (byte)DimensionArrowType.ArchitecturalTick; // Added
vDimStyle.ArrowType2 = (byte)DimensionArrowType.ArchitecturalTick; // Added
vDimStyle.TextHeight = 12;
vDimStyle.TextPosVert = DimTextPosVert.OutSide;
vDimStyle.TextOffset = 2;
vDimStyle.Scale = 1;
AddEntToSection(ConvSection.DimStyles, vDimStyle);
}
I tried to assign integers 0, 1, 2 ... to properties ArrowType1 and 2 as well, but it always shows default arrow style.
DimensionStyle Architectual Tick
Moderators: SDS, support, admin
Re: DimensionStyle Architectual Tick
Hello,
Unfortunately, the ArchitecturalTick arrow type cannot be applied to a dimension style using the given code. I have forwarded this issue to CAD .NET development team by opening a support case.
Mikhail
Unfortunately, the ArchitecturalTick arrow type cannot be applied to a dimension style using the given code. I have forwarded this issue to CAD .NET development team by opening a support case.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: DimensionStyle Architectual Tick
Hello. Mikhail
Could you let me know how is this issue going on .NET development team?
Could you let me know how is this issue going on .NET development team?
Re: DimensionStyle Architectual Tick
Hello,
The case is not resolved yet.
Mikhail
The case is not resolved yet.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support