COM object EvObject3D

EvApplication >EvFileCollection > EvFile > EvObjects3DCollection > EvObject3D

 

View the COM map and the COM summary.

The EvObject3D object gives you the ability access information about 3D objects and to export 3D objects from an EV file.

The EvFile.Objects3D[] property lists all the 3D objects in an EV file and is an EvObjects3DCollection.

EvObject3D methods and properties:

Export
Export3DAnalysisByRegions

Name

 

Description

Export

Export(string FileName)

Summary

Export this 3D object to the given file.

Parameters
  • FileName
  • Name of the file to export the 3D object to. The file extension dictates the export format, refer to Exporting 3D objects for more information.
Return

Whether successful.

Export3dAnalysisByRegions

Export3dAnalysisByRegions(string FileName; EvScene)

Summary

Export the 3D analysis by regions object from the specified scene to the given file. The export operates on a specified 3D region class object displayed on a scene.

Parameters
  • FileName
  • Name of the file to export to. If no file extension is specified, .csv is added automatically.
  • EvScene
  • The scene specified by the EvScene object
Return

Whether successful.

Example
'Open the EV file
Set EvApp = CreateObject("EchoviewCom.EvApplication")
Set vEvFile = EvApp.OpenFile("YourEVFile.EV")

'Specify a 3D object
Dim vEvObjectsCollection: Set vEvObjectsCollection = vEvFile.Objects3d
Dim vEvObject: Set vEvObject = vEvObjectsCollection.FindByName("NameOfObjectFromScenePropertiesDialogBox")

'Specify a scene
Dim vEvScenesCollection: Set vEvScenesCollection = vEvFile.Scenes
Dim vEvScene: Set vEvScene = vEvScenesCollection.FindByName("NameOfScene")

vEvObject.Export3dAnalysisByRegions "YourOutputFile.csv", vEvScene

Name

(read-only) string Name

Summary

Access the name of the 3D object.

See also

Scripting with COM objects
COM object hierarchy
EvObjects3DCollection