Hide Table of Contents
AutoBalloon3 Method (IDrawingDoc)

Obsolete. Superseded by IDrawingDoc::AutoBalloon4.

.NET Syntax

Visual Basic (Declaration) 
Function AutoBalloon3( _
   ByVal Layout As Integer, _
   ByVal IgnoreMultiple As Boolean, _
   ByVal Style As Integer, _
   ByVal Size As Integer, _
   ByVal UpperTextContent As Integer, _
   ByVal UpperText As String, _
   ByVal LowerTextContent As Integer, _
   ByVal LowerText As String, _
   ByVal Layername As String _
) As Object
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim Layout As Integer
Dim IgnoreMultiple As Boolean
Dim Style As Integer
Dim Size As Integer
Dim UpperTextContent As Integer
Dim UpperText As String
Dim LowerTextContent As Integer
Dim LowerText As String
Dim Layername As String
Dim value As Object
 
value = instance.AutoBalloon3(Layout, IgnoreMultiple, Style, Size, UpperTextContent, UpperText, LowerTextContent, LowerText, Layername)
C# 
object AutoBalloon3( 
   int Layout,
   bool IgnoreMultiple,
   int Style,
   int Size,
   int UpperTextContent,
   string UpperText,
   int LowerTextContent,
   string LowerText,
   string Layername
)
C++/CLI 
Object^ AutoBalloon3( 
&   int Layout,
&   bool IgnoreMultiple,
&   int Style,
&   int Size,
&   int UpperTextContent,
&   String^ UpperText,
&   int LowerTextContent,
&   String^ LowerText,
&   String^ Layername
) 

Parameters

Layout
Layout style of the balloons as defined by swBalloonLayoutType_e or specify -1 for this argument to use the document default layout style
IgnoreMultiple
True to apply a balloon to only one instance of a component, false to apply balloons to all instances of that component
Style
Style of the balloons as defined by swBalloonStyle_e or specify -1 to use the document default balloon style
Size
Fit of balloon as defined by swBalloonFit_e or specify -1 to use the document default balloon fit
UpperTextContent
Upper-text content style as defined by swBalloonTextContent_e or specify -1 to use the document default upper text content
UpperText
Text for upper balloon
LowerTextContent

Lower-text content style as defined by swBalloonTextContent_e or specify -1 to use the document default lower text content

NOTE: This and the next argument are only effective when Style is set to swBS_SplitCirc. See the SolidWorks Help for additional details about autoballoons.

LowerText
Text for lower balloon
Layername
Name of the layer for this balloon

Return Value

Array of newly created notes

Example

Remarks

This method automatically creates the BOM balloons for the selected drawing views. If a drawing sheet is selected, BOM balloons are automatically created for all of the drawing views on that drawing sheet.

To get or set default values for...

Use...

Layout

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAutoBalloonLayout, swUserPreferenceOption_e.swDetailingNoOptionSpecified) 
- or -
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAutoBalloonLayout, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swBalloonLayoutType_e.<Value>)

Style

IModelDocExtension::GetUserPreferenceInteger((swUserPreferenceIntegerValue_e.swDetailingBOMBalloonStyle, swUserPreferenceOption_e.swDetailingNoOptionSpecified)
- or -
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingBOMBalloonFit, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swBalloonFit_e.<Value>)

Size

IModelDocExtension::GetUserPreferenceInteger((swUserPreferenceIntegerValue_e.swDetailingBOMBalloonFit, swUserPreferenceOption_e.swDetailingNoOptionSpecified)
- or -
(swUserPreferenceIntegerValue_e.swDetailingBOMStackedBalloonFit, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swBalloonFit_e.<Value>)

UpperTextContent

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingBOMUpperText, swUserPreferenceOption_e.swDetailingNoOptionSpecified)
-  or -
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingBOMUpperText, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swBalloonTextContent_e.<Value>)

LowerTextContent

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingBOMLowerText, swUserPreferenceOption_e.swDetailingNoOptionSpecified)
- or -
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingBOMLowerText, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swBalloonTextContent_e.<Value>)

This method also allows you to get only the balloons just created.

 

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:   AutoBalloon3 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.