Page 1 of 1

DimensionStyle Architectual Tick

Posted: 12 Apr 2020, 17:56
by Sing
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.

Re: DimensionStyle Architectual Tick

Posted: 17 Apr 2020, 22:55
by support
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

Re: DimensionStyle Architectual Tick

Posted: 26 Aug 2020, 12:06
by Sing
Hello. Mikhail

Could you let me know how is this issue going on .NET development team?

Re: DimensionStyle Architectual Tick

Posted: 26 Aug 2020, 20:10
by support
Hello,

The case is not resolved yet.

Mikhail