Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Objects

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info

The DIAdem VIEW panel consists of objects and subobjects that you create, delete, and modify with a script. The global object is the View object. Many subobjects have collections of single objects. You can access the single objects and the collection. Use the Set statement to assign objects to a variable and to make it easier to access these objects. You use the Add methods to create all objects except the Area object. Split an Area object to create a new object. You use the Remove methods to delete existing objects. You use properties to change objects.

The illustrated structure of the objects in the DIAdem VIEW panel shows you how to click to the objects:

 View

   Settings

   Events

   CoordinateWnd

   Sheets

           Sheet

               Areas

                   Area

                         ChannelTable

                               Columns

                                   Column

                               HeaderItems

                                   HeaderItem

                               Font

                         CurveChart2D

                               Curves

                                    Curve

                               LegendItems

                                    LegendItem

                               Segments

                                         Segment

                         TextBox

                               Font

                         Video

                         Picture

                         Model3D

                               Model

                               DeformationModel

                               Points

                                    Point

                               SensorPoints

                                    SensorPoint

                               ViewPoint

                               ColorPaletteEntries

                                    ColorPaletteEntry

                               Lights

                                        Ambient

                                        Spots

                                                 Spot

                         Contour

                               ContourCurves

                                   ContourCurve

                                    Isoline

                               LegendItems

                                         LegendItem

                         Dialog

                              Dialog

                                         Controls

                                                 Control

                         Map

               Cursor

                      Dimensions

                              Dimension

The following example changes the name of the enabled area in the enabled worksheet:

Set oMyArea = View.ActiveSheet.ActiveArea
oMyArea.Name = "MyName"


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit