XSIUtils.DataRepository

説明

DataRepository オブジェクトを戻します。

C#構文

// get accessor

DataRepository rtn = XSIUtils.DataRepository;

VBScript の例

' Get the DataRepository object

Set oDatabase = xsiutils.DataRepository

' Use the DataRepository object to count the number of 3D objects in the scene

set oRoot = Application.ActiveProject.ActiveScene.Root

set oGrid = oRoot.AddGeometry("Grid","MeshSurface")

Application.LogMessage oDatabase.GetCount(oGrid)