Hide Table of Contents
FullyDefineSketch Method (ISketchManager)

Fully defines a sketch.

.NET Syntax

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