본문으로 건너뛰기

GetSelected

public bool GetSelected(int id)

공간의 선택 여부를 반환합니다.

Parameters​

NameTypeDescription
idint공간 아이디

Returns​

TypeDescription
bool선택되어 있으면 true

Examples​

// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;

public void Example()
{
System.Collections.Generic.List<int> ids = vizcore3dx.Zone.GetIDs();
if (ids.Count == 0) return;

System.Diagnostics.Debug.WriteLine($"Selected : {vizcore3dx.Zone.GetSelected(ids[0])}");
}