Creates an area hatch/fill region hatch using a closed sketch profile.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateRegionHatch( _
ByVal X As System.Double, _
ByVal Y As System.Double, _
ByVal Z As System.Double, _
ByVal Angle As System.Double, _
ByVal Scale As System.Double, _
ByVal Color As System.Integer, _
ByVal Hatchname As System.String, _
ByVal Layername As System.String _
) As SketchHatch |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim X As System.Double
Dim Y As System.Double
Dim Z As System.Double
Dim Angle As System.Double
Dim Scale As System.Double
Dim Color As System.Integer
Dim Hatchname As System.String
Dim Layername As System.String
Dim value As SketchHatch
value = instance.CreateRegionHatch(X, Y, Z, Angle, Scale, Color, Hatchname, Layername) |
C# | |
---|
SketchHatch CreateRegionHatch(
System.double X,
System.double Y,
System.double Z,
System.double Angle,
System.double Scale,
System.int Color,
System.string Hatchname,
System.string Layername
) |
C++/CLI | |
---|
SketchHatch^ CreateRegionHatch(
& System.double X,
& System.double Y,
& System.double Z,
& System.double Angle,
& System.double Scale,
& System.int Color,
& System.String^ Hatchname,
& System.String^ Layername
) |
Parameters
- X
- X coordinate anywhere within the closed sketch profile
- Y
- Y coordinate anywhere within the closed sketch profile
- Z
- Z coordinate anywhere within the closed sketch profile
- Angle
- Angle of the hatch if the hatch is not solid
- Scale
- Scale factor for the hatch if the hatch is not solid
- Color
- COLORREF value describing the color used for the hatch
- Hatchname
- Type or name of the hatch from the Sldwks.ptn file
- Layername
- Layer name for the hatch if a drawing document
Return Value
Sketch hatch
Remarks
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0