Hide Table of Contents
ICreateSectionViewAt5 Method (IDrawingDoc)

Creates a section view from the section line up to the specified distance at the specified distance.

.NET Syntax

Visual Basic (Declaration) 
Function ICreateSectionViewAt5( _
   ByVal X As Double, _
   ByVal Y As Double, _
   ByVal Z As Double, _
   ByVal SectionLabel As String, _
   ByVal Options As Integer, _
   ByVal NumExcludedComponents As Integer, _
   ByRef ExcludedComponents As Object, _
   ByVal SectionDepth As Double _
) As View
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim X As Double
Dim Y As Double
Dim Z As Double
Dim SectionLabel As String
Dim Options As Integer
Dim NumExcludedComponents As Integer
Dim ExcludedComponents As Object
Dim SectionDepth As Double
Dim value As View
 
value = instance.ICreateSectionViewAt5(X, Y, Z, SectionLabel, Options, NumExcludedComponents, ExcludedComponents, SectionDepth)
C# 
View ICreateSectionViewAt5( 
   double X,
   double Y,
   double Z,
   string SectionLabel,
   int Options,
   int NumExcludedComponents,
   ref object ExcludedComponents,
   double SectionDepth
)
C++/CLI 
View^ ICreateSectionViewAt5( 
&   double X,
&   double Y,
&   double Z,
&   String^ SectionLabel,
&   int Options,
&   int NumExcludedComponents,
&   Object^% ExcludedComponents,
&   double SectionDepth
) 

Parameters

X

x position on the drawing sheet for the center of the section view

Y
y position on the drawing sheet for the center of the section view
Z
z position on the drawing sheet for the center of the section view
SectionLabel
Letter for the label for the section view
Options

Options that affect the section view as defined in swCreateSectionViewAtOptions_e

NumExcludedComponents
Number of components to exclude from the section view
ExcludedComponents

Array of components to exclude from the section view

SectionDepth
Distance from the section line to create the section view

Return Value

Section view

Remarks

Before calling this method, select the section line or lines to use as a section line.

This method runs silently; the end-user is not prompted for a label.

Use IView::IGetSection to get the IDrSection object, and use IDrSection::SetLabel2 to set the name for the label, which provides a warning if the name is a duplicate and the standard does not accept duplicate names.

 

See Also

Availability

SolidWorks 2010 FCS, Revision Number 18.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:   ICreateSectionViewAt5 Method (IDrawingDoc)
*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.