Exemplo n.º 1
0
        /// <summary>
        /// Add objects to list with a GetObject
        /// </summary>
        /// <param name="go">Setup the GetObject, i.e. prompt, geometry filter, allow pre/post select
        /// before passing it as an argument.</param>
        /// <param name="allowGrips">Specifically allow grips to be selected.  if true, grips must also be included in geometry filter
        /// of the GetObject in order to be selected.</param>
        /// <returns>Number of objects selected.</returns>
        /// <since>6.0</since>
        public int AddObjects(GetObject go, bool allowGrips)
        {
            IntPtr const_ptr_getobj = go.ConstPointer();
            IntPtr ptr_this         = NonConstPointer();

            return(UnsafeNativeMethods.CRhinoXformObjectList_AddObjects(ptr_this, const_ptr_getobj, allowGrips));
        }