Ejemplo n.º 1
0
 internal static HandleRef getCPtr(ModelingCommandData obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 2
0
 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;
 }