public BC_Component CreateComponent(string ifcGlobalId, string color, bool selected, bool visible) { global::System.IntPtr cPtr = BIMcollab_ViewPointPINVOKE.BC_ViewPoint_CreateComponent(swigCPtr, ifcGlobalId, color, selected, visible); BC_Component ret = (cPtr == global::System.IntPtr.Zero) ? null : new BC_Component(cPtr, false); if (BIMcollab_ViewPointPINVOKE.SWIGPendingException.Pending) { throw BIMcollab_ViewPointPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }