예제 #1
0
        public LogicalWeld(Dynamic.Tekla.Structures.Model.BaseWeld MainWeld)
        {
            var args = new object[1];

            args[0]          = Dynamic.Tekla.Structures.Model.BaseWeld_.GetTSObject(MainWeld);
            this.teklaObject = TSActivator.CreateInstance("Tekla.Structures.Model.LogicalWeld", args);
        }
예제 #2
0
        public System.Boolean RemoveWeld(
            Dynamic.Tekla.Structures.Model.BaseWeld Weld_)
        {
            var Weld = Dynamic.Tekla.Structures.Model.BaseWeld_.GetTSObject(Weld_);

            try
            {
                var result = (System.Boolean)teklaObject.RemoveWeld(Weld);

                return(result);
            }
            catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ex)
            {
                throw DynamicAPINotFoundException.CouldNotFindMethod(nameof(RemoveWeld), ex);
            }
        }