//public int GetObjectType(int nObjectID) //{ // StoredCommands sc = new StoredCommands(); // uint key = sc.AppendSceneCommand_GetObjectType(nObjectID); // ExecuteCommands(sc); // sc.GetSceneCommandResult_GetObjectType(key, ) //} public void SetVisible(int nObjectID, bool bVisible) { StoredCommands sc = new StoredCommands(); if (bVisible) { sc.AppendSceneCommand_SetVisible(nObjectID); } else { sc.AppendSceneCommand_SetHidden(nObjectID); } ExecuteCommands(sc); }