public ControlPolycurve(Dynamic.Tekla.Structures.Geometry3d.Polycurve geometry)
        {
            var args = new object[1];

            args[0]          = Dynamic.Tekla.Structures.Geometry3d.Polycurve_.GetTSObject(geometry);
            this.teklaObject = TSActivator.CreateInstance("Tekla.Structures.Model.ControlPolycurve", args);
        }
Пример #2
0
        public PolycurveGeometryBuilder(Dynamic.Tekla.Structures.Geometry3d.Polycurve geometries)
        {
            var args = new object[1];

            args[0]          = Dynamic.Tekla.Structures.Geometry3d.Polycurve_.GetTSObject(geometries);
            this.teklaObject = TSActivator.CreateInstance("Tekla.Structures.Geometry3d.PolycurveGeometryBuilder", args);
        }
Пример #3
0
        public Dynamic.Tekla.Structures.Geometry3d.PolycurveGeometryBuilder Append(
            Dynamic.Tekla.Structures.Geometry3d.Polycurve otherPolycurve_)
        {
            var otherPolycurve = Dynamic.Tekla.Structures.Geometry3d.Polycurve_.GetTSObject(otherPolycurve_);

            try
            {
                var result = teklaObject.Append(otherPolycurve);

                var _result = Dynamic.Tekla.Structures.Geometry3d.PolycurveGeometryBuilder_.FromTSObject(result);
                return(_result);
            }
            catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ex)
            {
                throw DynamicAPINotFoundException.CouldNotFindMethod(nameof(Append), ex);
            }
        }