internal static HandleRef getCPtr(ModelingCommandData obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public static bool SendModelingCommand(int command, ModelingCommandData data) { bool ret = C4dApiPINVOKE.SendModelingCommand(command, ModelingCommandData.getCPtr(data)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }