Hide Table of Contents
FullyDefineSketch Method (ISketchManager)

Fully defines a sketch.

.NET Syntax

Visual Basic (Declaration) 
Function FullyDefineSketch( _
   ByVal EntitiesToFullyDefine As Boolean, _
   ByVal UseRelations As Boolean, _
   ByVal RelationsToApply As Integer, _
   ByVal UseDimensions As Boolean, _
   ByVal HorizontalDimScheme As Integer, _
   ByVal HorizontalDatumDisp As Object, _
   ByVal VerticalDimScheme As Integer, _
   ByVal VerticalDatumDisp As Object, _
   ByVal HorizontalDimPlacement As Integer, _
   ByVal VerticalDimPlacement As Integer _
) As Integer
Visual Basic (Usage) 
Dim instance As ISketchManager
Dim EntitiesToFullyDefine As Boolean
Dim UseRelations As Boolean
Dim RelationsToApply As Integer
Dim UseDimensions As Boolean
Dim HorizontalDimScheme As Integer
Dim HorizontalDatumDisp As Object
Dim VerticalDimScheme As Integer
Dim VerticalDatumDisp As Object
Dim HorizontalDimPlacement As Integer
Dim VerticalDimPlacement As Integer
Dim value As Integer
 
value = instance.FullyDefineSketch(EntitiesToFullyDefine, UseRelations, RelationsToApply, UseDimensions, HorizontalDimScheme, HorizontalDatumDisp, VerticalDimScheme, VerticalDatumDisp, HorizontalDimPlacement, VerticalDimPlacement)
C# 
int FullyDefineSketch( 
   bool EntitiesToFullyDefine,
   bool UseRelations,
   int RelationsToApply,
   bool UseDimensions,
   int HorizontalDimScheme,
   object HorizontalDatumDisp,
   int VerticalDimScheme,
   object VerticalDatumDisp,
   int HorizontalDimPlacement,
   int VerticalDimPlacement
)
C++/CLI 
int FullyDefineSketch( 
&   bool EntitiesToFullyDefine,
&   bool UseRelations,
&   int RelationsToApply,
&   bool UseDimensions,
&   int HorizontalDimScheme,
&   Object^ HorizontalDatumDisp,
&   int VerticalDimScheme,
&   Object^ VerticalDatumDisp,
&   int HorizontalDimPlacement,
&   int VerticalDimPlacement
) 

Parameters

EntitiesToFullyDefine
True to fully define all entities, false to fully define only the entities selected
UseRelations
True to use relations, false to not
RelationsToApply
Relations to apply as defined in swSketchFullyDefineRelationType_e
UseDimensions
True to use dimensions, false to not
HorizontalDimScheme
  • 0 = Chain
  • 1 = Baseline

  • 2 = Ordinate

  • HorizontalDatumDisp
    Horizontal datum (model edge, model vertex, sketch line, sketch point), or, if Nothing or null, use entity with selection mark = 6
    VerticalDimScheme
    • 0 = Chain
  • 1 = Baseline

  • 2 = Ordinate

  • VerticalDatumDisp
    Vertical datum (model edge, model vertex, sketch line, sketch point), or, if Nothing or null, use entity with selection mark = 6
    HorizontalDimPlacement
    • 0 = Above sketch
  • 1 = Below sketch

  • VerticalDimPlacement
    • 0 = Right of sketch
  • 1 = Left of sketch

  • Return Value

    Not currently defined

    Example

     

    See Also

    Availability

    SolidWorks 2007 FCS, Revision Number 15.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:   FullyDefineSketch 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) 2012 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.