DIAdem Help

Method: AddDynamicObject for BirdsEyeViewObjects

  • Updated2024-09-12
  • 2 minute(s) read

Method: AddDynamicObject for BirdsEyeViewObjects

Adds an object to the BirdsEyeViewObjects collection and returns a BirdsEyeViewDynamicObject object, in the script interface of DIAdem VIEW.

Set oBirdsEyeViewDynamicObject = Object.AddDynamicObject(SynchronisationChannelName, LateralDistanceChannelName, LongitudinalDistanceChannelName)
ObjectBirdsEyeViewObjects
Object with this method
SynchronisationChannelNameString
Specifies the name of the channel with the synchronization data.
LateralDistanceChannelNameString
Specifies the name of the channel with the lateral distance of the dynamic objects.
LongitudinalDistanceChannelNameString
Specifies the name of the channel with the longitudinal distance of the dynamic objects.
oBirdsEyeViewDynamicObjectBirdsEyeViewDynamicObject
Returned object

The following example adds dynamic objects in a bird's eye view display:

VBScriptPython

 

Dim oMySheet, oMyObject, oMyObjects
Set oMySheet = View.Sheets.Add("NewBirdsEyeView")
oMySheet.ActiveArea.DisplayObjType = "BirdsEyeView"
Set oMyObjects = View.ActiveSheet.ActiveArea.DisplayObj.BirdsEyeViewObjects
Set oMyObject = oMyObjects.AddDynamicObject("[1]/[1]","[1]/[2]","[1]/[3]")