/// <summary> /// Get list of details that this object is supposed to be hidden in /// </summary> /// <returns></returns> /// <since>6.1</since> public Guid[] GetHideInDetailOverrides() { using (var guids = new SimpleArrayGuid()) { IntPtr constPtrThis = ConstPointer(); UnsafeNativeMethods.ON_3dmObjectAttributes_HideInDetailIds(constPtrThis, guids.NonConstPointer()); return(guids.ToArray()); } }
/// <summary> /// Returns the ids of the Rhino objects in the transformation table. /// </summary> /// <returns></returns> public static Guid[] Ids() { using (var arr = new SimpleArrayGuid()) { var ptr = arr.NonConstPointer(); var rc = UnsafeNativeMethods.ON_XformTable_Ids(ptr); return(rc > 0 ? arr.ToArray() : new Guid[0]); } }