API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

ModelObjectHatchAttributes Class

The ModelObjectHatchAttributes class contains hatch attributes for model object hatches.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2022.0.13611
Syntax
[SerializableAttribute]
public sealed class ModelObjectHatchAttributes : HatchAttributes

The ModelObjectHatchAttributes type exposes the following members.

Properties
  NameDescription
Public propertyAngle
The angle in which to draw the hatch.
(Inherited from HatchAttributes.)
Public propertyAutomaticScaling
Specifies whether automatic scaling is enabled. If disabled, custom scale values will be used (see ScaleX and ScaleY).
Public propertyBackgroundColor
The background color of the hatch.
(Inherited from HatchAttributes.)
Public propertyColor
The color of the hatch.
(Inherited from HatchAttributes.)
Public propertyDrawBackgroundColor
Sets whether the background color will be enabled or disabled for the hatch. See also: BackgroundColor.
(Inherited from HatchAttributes.)
Public propertyFactorType
The type of the hatch factor.
(Inherited from HatchAttributes.)
Public propertyName
The name of the hatch. If an empty string is given as hatch name it will become "None".
(Inherited from HatchAttributes.)
Public propertyScaleX
The scale value of the hatch in the X-direction.
(Inherited from HatchAttributes.)
Public propertyScaleY
The scale value of the hatch in the Y-direction.
(Inherited from HatchAttributes.)
Top
Methods
  NameDescription
Public methodIsEqual
Compares the current object with an object of the same type.
(Overrides GenericAttributesBaseIsEqual(Object).)
Top
See Also