COM object EvObjects3DCollection

EvApplication>EvFileCollection > EvFile > EvObjects3DCollection

 

View the COM map and the COM summary.

The EvObjects3DCollection object gives you information about the 3D objects in an EV file and is accessed using the EvFile.Objects3D[] property.

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

EvObjects3DCollection methods and properties:

Count
FindByDynamicName
FindByName
Item
 

 

Description

Count

(read-only) integer Count

Summary

Get the number of 3D objects in the collection.

FindByDynamicName

FindByDynamicName(string DynamicName)

Summary

Find a virtual surface in the EvObjects3DCollection by its dynamic name and if found return the EvObject3D object for it.

Parameters
  • DynamicName
  • The name of the 3D object (virtual surface).
Return

If successful, the specified EvObject3D. Null if the object can't be found.

Example

The following code snippet should return the first 3D object (which is a virtual surface) with a dynamic name that equals "Fixed range surface [{Range} m]".

Dim vObj: Set vObj = vEvFile.Objects3d.FindByDynamicName("Fixed range surface [{Range} m]")

FindByName

FindByName(string Name)

Summary

Find a 3D object in the EvObjects3DtCollection by name and if found return the EvObject3D object for it.

Parameters
  • Name
  • The name of the 3D object.

Item

(read-only) Item[]

Summary

Gives access to a specific 3D object in the EvObjects3DCollection by index. Indexes are zero-based, so valid indexes are from 0 to Count-1. The result is an EvObject3D object.

Item is the default property for this interface. The examples on the EvFileCollection page show several ways to use the Item property.

See also

Scripting with COM objects
COM object hierarchy
EvObject3D