Hide Table of Contents
CreateBoundaryHatch Method (ISketchManager)

Creates area hatch/fill boundary hatches using closed sketch profiles.

.NET Syntax

Visual Basic (Declaration) 
Function CreateBoundaryHatch( _
   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 System.Object
Visual Basic (Usage) 
Dim instance As ISketchManager
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 System.Object
 
value = instance.CreateBoundaryHatch(Angle, Scale, Color, Hatchname, Layername)
C# 
System.object CreateBoundaryHatch( 
   System.double Angle,
   System.double Scale,
   System.int Color,
   System.string Hatchname,
   System.string Layername
)
C++/CLI 
System.Object^ CreateBoundaryHatch( 
&   System.double Angle,
&   System.double Scale,
&   System.int Color,
&   System.String^ Hatchname,
&   System.String^ Layername
) 

Parameters

Angle
Angle of the hatch if hatch is not solid
Scale
Scale factor for the hatch if hatch is not solid
Color
COLORREF value describing the color used for this 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

Array of sketch hatches

Remarks

Before calling this method, select the closed sketch profile for the area hatch/fill boundary hatch.

 

See Also

Availability

SOLIDWORKS 2008 FCS, Revision Number 16.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CreateBoundaryHatch Method (ISketchManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2015 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.