public static System.Boolean RedrawView( Dynamic.Tekla.Structures.Model.UI.View view_) { var view = Dynamic.Tekla.Structures.Model.UI.View_.GetTSObject(view_); var result = (System.Boolean)MethodInvoker.InvokeStaticMethod("Tekla.Structures.Model.UI.ViewHandler", "RedrawView", view); return(result); }
public static System.Boolean ZoomToBoundingBox( Dynamic.Tekla.Structures.Model.UI.View view_, Dynamic.Tekla.Structures.Geometry3d.AABB B_) { var view = Dynamic.Tekla.Structures.Model.UI.View_.GetTSObject(view_); var B = Dynamic.Tekla.Structures.Geometry3d.AABB_.GetTSObject(B_); var result = (System.Boolean)MethodInvoker.InvokeStaticMethod("Tekla.Structures.Model.UI.ViewHandler", "ZoomToBoundingBox", view, B); return(result); }
public Dynamic.Tekla.Structures.Model.ModelObjectEnumerator GetObjectsByBoundingBox( Dynamic.Tekla.Structures.Geometry3d.Point MinPoint_, Dynamic.Tekla.Structures.Geometry3d.Point MaxPoint_, Dynamic.Tekla.Structures.Model.UI.View View_) { var MinPoint = Dynamic.Tekla.Structures.Geometry3d.Point_.GetTSObject(MinPoint_); var MaxPoint = Dynamic.Tekla.Structures.Geometry3d.Point_.GetTSObject(MaxPoint_); var View = Dynamic.Tekla.Structures.Model.UI.View_.GetTSObject(View_); try { var result = teklaObject.GetObjectsByBoundingBox(MinPoint, MaxPoint, View); var _result = Dynamic.Tekla.Structures.Model.ModelObjectEnumerator_.FromTSObject(result); return(_result); } catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ex) { throw DynamicAPINotFoundException.CouldNotFindMethod(nameof(GetObjectsByBoundingBox), ex); } }