Hide Table of Contents
IInsertRevisionCloud Method (IDrawingDoc)

Inserts a revision cloud annotation with the specified shape into a view or sheet.

.NET Syntax

Visual Basic (Declaration) 
Function IInsertRevisionCloud( _
   ByVal CloudShape As System.Integer _
) As RevisionCloud
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim CloudShape As System.Integer
Dim value As RevisionCloud
 
value = instance.IInsertRevisionCloud(CloudShape)
C# 
RevisionCloud IInsertRevisionCloud( 
   System.int CloudShape
)
C++/CLI 
RevisionCloud^ IInsertRevisionCloud( 
&   System.int CloudShape
) 

Parameters

CloudShape
Revision cloud annotation shape as defined in swRevisionCloudShape_e

Return Value

  • in-process, unmanaged C++: Pointer to an IRevisionCloud
  • VBA, VB.NET, C#, and C++/CLI: Not supported

See In-process Methods for details about this type of method.

Remarks

After calling this method:

  1. Call IRevisionCloud::IGetAnnotation to get the annotation object for the revision cloud.
  2. Call IAnnotation::SetPosition to set the revision cloud position point on the drawing. If you eliminate this step, the revision cloud is rendered starting at the drawing origin of x=0, y=0, z=0. Set the revision cloud position point as follows:

    For revision cloud shape... Set the revision cloud position point to...
    Ellipse The center of the revision cloud.
    Rectangle A corner of the revision cloud.
    Polygon One of the points on the revision cloud.
    Freehand One of the points on the revision cloud.

  3. Call IRevisionCloud::ArcRadius to set the arc radius of the revision cloud.

  4. Call IRevisionCloud::SetPathPointAtIndex with Index = -1 to create points on the revision cloud as follows:

    For revision cloud shape... Call IRevisionCloud::SetPathPointAtIndex...
    Ellipse Once, specifying the coordinates of a corner of the ellipse-inscribed rectangle.
    Rectangle Once, specifying the coordinates of a corner opposite the revision cloud position point.
    Polygon (Number of polygon sides + 1) times, such that the first and last points coincide with the revision cloud position point.
    Freehand Indefinite number of times, such that the first and last points coincide with the revision cloud position point.

  5. Call IRevisionCloud::Finalize to close the revision cloud path. Once the revision cloud path is closed, you can no longer add points to it.

  6. Call IRevisionCloud::SetPathPointAtIndex to modify the position of an existing point on the revision cloud.

 

See Also

Availability

SolidWorks 2013 FCS, Revision Number 21.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:   IInsertRevisionCloud 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) 2013 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.