Hide Table of Contents
SetCoords Method (ISketchPoint)

Sets the location of this sketch point.

.NET Syntax

Visual Basic (Declaration) 
Function SetCoords( _
   ByVal Xx As System.Double, _
   ByVal Yy As System.Double, _
   ByVal Zz As System.Double _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As ISketchPoint
Dim Xx As System.Double
Dim Yy As System.Double
Dim Zz As System.Double
Dim value As System.Boolean
 
value = instance.SetCoords(Xx, Yy, Zz)
C# 
System.bool SetCoords( 
   System.double Xx,
   System.double Yy,
   System.double Zz
)
C++/CLI 
System.bool SetCoords( 
&   System.double Xx,
&   System.double Yy,
&   System.double Zz
) 

Parameters

Xx

X component of the direction vector

Yy

Y component of the direction vector

Zz

Z component of the direction vector

Return Value

True if the coordinates are successfully set, false if not

Remarks

When setting new coordinate values to a sketch point, this method adheres to any constraints that are active in the sketch. If the sketch point is an end point of a sketch line that is constrained to be horizontal, then the values are adjusted according to that constraint.

To set the coordinates of a sketch point on a spline, the location of the sketch point must already exist on the spline. You cannot use this method to create a new sketch point that is not on the spline.

 

See Also

Availability

SOLIDWORKS 2000 FCS, Revision Number 8.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:   SetCoords Method (ISketchPoint)
*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) 2018 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.