Share

SketchHatchRegion Object


Description

SketchHatchRegion Object.

Methods

Name Description
Delete Method that deletes the SketchHatchRegion.

Properties

Name Description
Angle Read-write property that gets and sets the rotation angle of the pattern in radians.
Application Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server.
Color Read-write property that gets and sets the color of the hatch pattern.
DoublePattern Read-write property that specifies if a duplicate hatch pattern should be created that is perpendicular to the hatch pattern assigned to the sketch hatch region.
Layer Read-write property that gets and sets the layer associated with the hatch region object.
LineWeight Read-write property that specifies the line weight of the sketch hatch region object in centimeters. A value of 0 indicates the line weight is By Layer.
Parent Gets the parent object from whom this object can logically be reached.
Pattern Read-write property that gets and sets the DrawingHatchPattern of the sketch hatch region.
Profile Read-only property that returns the profile associated with the sketch hatch region.
Scale Read-write property that specifies the scale of the distance between lines.
Shift Read-write property that specifies the hatch pattern offset from original hatch pattern position.
Type Gets the constant that indicates the type of this object.

Accessed From

SketchHatchRegions.Add, SketchHatchRegions.Item

Samples

Name Description
Drawing Sketch Hatch Region Sample This sample demonstrates how to create a sketch hatch region in drawing.

Version

Introduced in version 2021

Was this information helpful?