Hide Table of Contents
SetWorkingPlaneOrientation Method (ISketch)

Sets the orientation for sketching geometry in a 3D sketch. It sets the planar location for new 2D and 3D geometry in a 3D sketch.

.NET Syntax

Visual Basic (Declaration) 
Function SetWorkingPlaneOrientation( _
   ByVal OriginX As Double, _
   ByVal OriginY As Double, _
   ByVal OriginZ As Double, _
   ByVal XAxisX As Double, _
   ByVal XAxisY As Double, _
   ByVal XAxisZ As Double, _
   ByVal YAxisX As Double, _
   ByVal YAxisY As Double, _
   ByVal YAxisZ As Double, _
   ByVal NormalX As Double, _
   ByVal NormalY As Double, _
   ByVal NormalZ As Double _
) As Boolean
Visual Basic (Usage) 
Dim instance As ISketch
Dim OriginX As Double
Dim OriginY As Double
Dim OriginZ As Double
Dim XAxisX As Double
Dim XAxisY As Double
Dim XAxisZ As Double
Dim YAxisX As Double
Dim YAxisY As Double
Dim YAxisZ As Double
Dim NormalX As Double
Dim NormalY As Double
Dim NormalZ As Double
Dim value As Boolean
 
value = instance.SetWorkingPlaneOrientation(OriginX, OriginY, OriginZ, XAxisX, XAxisY, XAxisZ, YAxisX, YAxisY, YAxisZ, NormalX, NormalY, NormalZ)
C# 
bool SetWorkingPlaneOrientation( 
   double OriginX,
   double OriginY,
   double OriginZ,
   double XAxisX,
   double XAxisY,
   double XAxisZ,
   double YAxisX,
   double YAxisY,
   double YAxisZ,
   double NormalX,
   double NormalY,
   double NormalZ
)
C++/CLI 
bool SetWorkingPlaneOrientation( 
&   double OriginX,
&   double OriginY,
&   double OriginZ,
&   double XAxisX,
&   double XAxisY,
&   double XAxisZ,
&   double YAxisX,
&   double YAxisY,
&   double YAxisZ,
&   double NormalX,
&   double NormalY,
&   double NormalZ
) 

Parameters

OriginX

x coordinate of the origin of the axis

OriginY
y coordinate of the origin of the axis
OriginZ

z coordinate of the origin of the axis

XAxisX

x coordinate of the x vector direction

XAxisY

y coordinate of the x vector direction

XAxisZ

z coordinate of the x vector direction

YAxisX

x coordinate of the y vector direction

YAxisY

y coordinate of the y vector direction

YAxisZ

z coordinate of the y vector direction

NormalX
x coordinate of the normal to the planar direction
NormalY
y coordinate of the normal to the planar direction
NormalZ

z coordinate of the normal to the planar direction

Return Value

True if the orientation is set, false if not

Remarks

This method sets the planar location for new 2D and 3D geometry in a 3D sketch.
 

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:   SetWorkingPlaneOrientation Method (ISketch)
*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.