SubComponent のサブエレメントを含むClusterを作成します。
Cluster SubComponent.CreateCluster( String in_name ); |
SubComponent.CreateCluster( Name ); |
| パラメータ | タイプ | 説明 |
|---|---|---|
| Name | String | 作成するクラスタの名前 |
set oObject = Application.ActiveSceneRoot.AddGeometry("Cube","MeshSurface","MyCube")
set oSubComponent = oObject.ActivePrimitive.Geometry.CreateSubComponent(siVertexCluster, Array(3,4,5))
set oCluster = oSubComponent.CreateCluster()
if oCluster.Type = oSubComponent.ClusterType then
Application.LogMessage "Expected Result"
end if |