Hide Table of Contents
InsertRay Method (ISketchManager)
Ray[out]
Ray

Inserts a Ray.

.NET Syntax

Visual Basic (Declaration) 
Function InsertRay( _
   double StartX As System.Double, _
   double StartY As System.Double, _
   double StartZ As System.Double, _
   double ThroughX As System.Double, _
   double ThroughY As System.Double, _
   double ThroughZ As System.Double _
) As Ray
C# 
Ray InsertRay( 
   System.double StartX,
   System.double StartY,
   System.double StartZ,
   System.double ThroughX,
   System.double ThroughY,
   System.double ThroughZ
)
JavaScript 
InsertRay( 
   StartX : Number,
   StartY : Number,
   StartZ : Number,
   ThroughX : Number,
   ThroughY : Number,
   ThroughZ : Number
) : dsRay
COM native C++ 
HRESULT InsertRay( 
   DOUBLE StartX,
   DOUBLE StartY,
   DOUBLE StartZ,
   DOUBLE ThroughX,
   DOUBLE ThroughY,
   DOUBLE ThroughZ,
   IRay** Ray
) 
C++ 
DSRESULT InsertRay( 
   double StartX,
   double StartY,
   double StartZ,
   double ThroughX,
   double ThroughY,
   double ThroughZ,
   dsRay** Ray
) 

Parameters

StartX
x coordinate of the base (start) point of the Ray
StartY
y coordinate of the base point of the Ray
StartZ
z coordinate of the base point of the Ray
ThroughX
x coordinate of the through point (point that defines the direction of the Ray from the base point) for the Ray
ThroughY
y coordinate of the through point for the Ray
ThroughZ
z coordinate of the through point for the Ray
Ray[out] or Return Value
Ray

Example

 

See Also

Availability

DraftSight V1R1.1


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:   InsertRay 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) 2021 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.