Hide Table of Contents
AddRadialExplodeStep Method (IConfiguration)

Adds a radial explode step to the explode view of the active configuration.

.NET Syntax

Visual Basic (Declaration) 
Function AddRadialExplodeStep( _
   ByVal ExplDist As System.Double, _
   ByVal ExplAng As System.Double, _
   ByVal DivergeFromAxis As System.Boolean, _
   ByRef Error As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As IConfiguration
Dim ExplDist As System.Double
Dim ExplAng As System.Double
Dim DivergeFromAxis As System.Boolean
Dim Error As System.Integer
Dim value As System.Object
 
value = instance.AddRadialExplodeStep(ExplDist, ExplAng, DivergeFromAxis, Error)
C# 
System.object AddRadialExplodeStep( 
   System.double ExplDist,
   System.double ExplAng,
   System.bool DivergeFromAxis,
   out System.int Error
)
C++/CLI 
System.Object^ AddRadialExplodeStep( 
&   System.double ExplDist,
&   System.double ExplAng,
&   System.bool DivergeFromAxis,
&   [Out] System.int Error
) 

Parameters

ExplDist
Distance in meters to move the components in this explode step
ExplAng
Angle in radians of rotation about component origins
DivergeFromAxis
True to move components at an angle from the selected explode direction, false to not (see Remarks)
Error
Error code as defined in swCreateExplodeStepError_e

Return Value

Explode step

Remarks

This method:

  • Is valid only for an active current explode view. To create an explode view, call IAssemblyDoc::AutoExplode or IAssemblyDoc::CreateExplodedView.
  • Always clears the selection list.
  • Does not work if the Explode PropertyManager is open.
  • Does not work if any component is being edited in the context of the assembly.

Before calling this method, you must:

  1. Use IConfigurationManager::ActiveConfiguration to get the active configuration for the assembly.
  2. Call IAssemblyDoc::ShowExploded2 to activate an explode view.
  3. Call IModelDocExtension::SelectByID2 to select:
  • Components to move with Mark = 1.
  • An explode direction entity (cylindrical face, conical face, linear edge, or axis) with Mark = 34.
  • A diverge direction entity (cylindrical face, conical face, linear edge, or axis) with Mark = 64. The selected entity must form an angle with the direction entity. If DivergeFromAxis is set to true and an invalid diverge direction is selected, then DivergeFromAxis is set to false, and the direction entity is set to null. If DivergeFromAxis is set to false, then the direction entity is set to null. 

After calling this method, call IModelDoc2::EditRebuild3.

For C++, specify VARIANT_TRUE or VARIANT_FALSE for ReverseDir and DivergeFromAxis.

To edit a radial explode step, see the IExplodeStep remarks.

 

See Also

Availability

SOLIDWORKS 2018 FCS, Revision Number 26.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:   AddRadialExplodeStep Method (IConfiguration)
*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.