DimensionStyle Architectual Tick

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
Sing
Posts: 48
Joined: 12 Apr 2020, 17:39

DimensionStyle Architectual Tick

Post by Sing » 12 Apr 2020, 17:56

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.

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: DimensionStyle Architectual Tick

Post by support » 17 Apr 2020, 22:55

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
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Sing
Posts: 48
Joined: 12 Apr 2020, 17:39

Re: DimensionStyle Architectual Tick

Post by Sing » 26 Aug 2020, 12:06

Hello. Mikhail

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

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: DimensionStyle Architectual Tick

Post by support » 26 Aug 2020, 20:10

Hello,

The case is not resolved yet.

Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply