internal static HandleRef getCPtr(LayerData obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool SetLayerData(BaseDocument doc, LayerData data) { bool ret = C4dApiPINVOKE.BaseList2D_SetLayerData(swigCPtr, BaseDocument.getCPtr(doc), LayerData.getCPtr(data)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }