Hi,
When I am using the following code to insert an attribute of a block br and
I set the the horizontalmode then the Attribut is always drawn at the
insertion point of the block
If I discard that line (so, not setting the horizontalmode) then the
attribute is positioned at the right place, but the horizontalmode is not
according to the one defined in de block definitiion ?
What's going wrong ? Is there a better way to insert the attribute ?
Dim attDef As AcDb.AttributeDefinition = CType(ent,
AcDb.AttributeDefinition)
attRef.Position = New AcGe.Point3d(attDef.Position.X * Scale +
(br.Position.X), attDef.Position.Y * Scale + (br.Position.Y),
attDef.Position.Z * Scale + (br.Position.Z))attRef.Height = attDef.Height
attRef.Rotation = attDef.Rotation + angle
attRef.TextStyle = attDef.TextStyle
attRef.HorizontalMode = attDef.HorizontalMode