Hide Table of Contents
ICreateCompoundNote Method (IDrawingDoc)

Creates and returns a compound note.

.NET Syntax

Visual Basic (Declaration) 
Function ICreateCompoundNote( _
   ByVal Height As System.Double, _
   ByVal X As System.Double, _
   ByVal Y As System.Double, _
   ByVal Z As System.Double _
) As Note
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim Height As System.Double
Dim X As System.Double
Dim Y As System.Double
Dim Z As System.Double
Dim value As Note
 
value = instance.ICreateCompoundNote(Height, X, Y, Z)
C# 
Note ICreateCompoundNote( 
   System.double Height,
   System.double X,
   System.double Y,
   System.double Z
)
C++/CLI 
Note^ ICreateCompoundNote( 
&   System.double Height,
&   System.double X,
&   System.double Y,
&   System.double Z
) 

Parameters

Height
Note height in meters
X
x location of note in meters
Y
y location of note in meters
Z
z location of note in meters

Return Value

Pointer to the newly created compound note

Remarks

A compound note is a note that can contain multiple text strings and sketch geometry.

Compound notes are equivalent to a user-defined symbol. After creating a compound note, you can use the other compound note methods to add text and sketch geometry to the object.

This object appears to the end-user as though it were one item. If the user selects the compound note and drags it, all of the entities and text move together.

Because a compound note can have multiple pieces of text, many of the compound note methods require that you specify the index value of the text. For example, the first piece of text added to the compound note using INote::AddText has index number 1, the second text added has index number 2, and so on.

SOLIDWORKS adds the note to the view of the current selection, so you must make a selection before you call this method.

 

See Also



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:   ICreateCompoundNote 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) 2017 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.