public CylindricalSurface(Dynamic.Tekla.Structures.Geometry3d.Arc baseArc, System.Double height)
        {
            var args = new object[2];

            args[0]          = Dynamic.Tekla.Structures.Geometry3d.Arc_.GetTSObject(baseArc);
            args[1]          = height;
            this.teklaObject = TSActivator.CreateInstance("Tekla.Structures.Model.CylindricalSurface", args);
        }
        public GridCylindricalSurface(Dynamic.Tekla.Structures.Geometry3d.Arc cylinderBase, System.Double cylinderHeight, System.String label)
        {
            var args = new object[3];

            args[0]          = Dynamic.Tekla.Structures.Geometry3d.Arc_.GetTSObject(cylinderBase);
            args[1]          = cylinderHeight;
            args[2]          = label;
            this.teklaObject = TSActivator.CreateInstance("Tekla.Structures.Model.GridCylindricalSurface", args);
        }
Exemple #3
0
        public Dynamic.Tekla.Structures.Geometry3d.PolycurveGeometryBuilder Append(
            Dynamic.Tekla.Structures.Geometry3d.Arc arc_)
        {
            var arc = Dynamic.Tekla.Structures.Geometry3d.Arc_.GetTSObject(arc_);

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

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