public void SetSelectedObjects(TaggedObject[] objectVector) { JAM.StartCall(); int status = JA_BLOCK_STYLER_SELECT_PART_FROM_LIST_set_selected_objects(JAM.Lookup(base.Tag), objectVector.Length, JAM.ToTagArray(objectVector)); if (status != 0) { throw NXException.Create(status); } }
public static NXOpen.Section Section(this NXOpen.Features.DatumAxisBuilder obj) { IntPtr ptr; JAM.StartCall(); int status = JA_DATUM_AXIS_BUILDER_get_section(JAM.Lookup(obj.Tag), out ptr); if (status != 0) { throw NXException.Create(status); } return((NXOpen.Section)NXObjectManager.Get(JAM.Lookup(ptr))); }
public TaggedObject[] GetSelectedObjects() { int num; JAM.StartCall(); IntPtr zero = IntPtr.Zero; int status = JA_BLOCK_STYLER_SELECT_PART_FROM_LIST_get_selected_objects(JAM.Lookup(base.Tag), out num, out zero); if (status != 0) { throw NXException.Create(status); } return((TaggedObject[])JAM.ToObjectArray(typeof(TaggedObject), num, zero)); }