Пример #1
0
        //public int NewNo { get; set; }

        // Display Info of the RFEM Objects on Panels
        // Parameters are separated by ";". The component split text can be used to break the string down into a list.
        public override string ToString()
        {
            return(string.Format($"RFEM-Line;No:{No};Length:{Length}[m];Type:{Type};NodeList:{((NodeList == "") ? "-" : NodeList)};" +
                                 $"NodeCount:{NodeCount};Nodes:{ControlPoints.ToLabelString()};Tag:{((Tag == "") ? "-" : Tag)};" +
                                 $"IsValid:{IsValid};IsGenerated:{IsGenerated};ID:{((ID == "") ? "-" : ID)};RotationAngle:{RotationAngle}[rad];" +
                                 $"RotationHelpNodeNo:{RotationHelpNodeNo};RotationPlane:{RotationPlane};RotationType:{RotationType};" +
                                 $"Order:{((Order == 0) ? "-" : Order.ToString())};" +
                                 $"Weights:{(Weights.ToLabelString())};Knots:{(Knots.ToLabelString())};" +
                                 $"ToModify:{ToModify};ToDelete:{ToDelete};Comment:{((Comment == "") ? "-" : Comment)};"));
        }
Пример #2
0
        //public int NewNo { get; set; }

        // Display Info of the RFEM Objects on Panels
        // Parameters are separated by ";". The component split text can be used to break the string down into a list.
        public override string ToString()
        {
            return(string.Format($"RFEM-Surface;No:{No};Area:{Area}[m2];MaterialNo:{MaterialNo};" +
                                 $"Thickness:{Thickness}[m];Type:{GeometryType};ThicknessType:{ThicknessType};StiffnessType:{StiffnessType};BoundaryLineCount:{BoundaryLineCount};" +
                                 $"BoundaryLineList:{((String.IsNullOrEmpty(BoundaryLineList)) ? "-" : BoundaryLineList.EmptyIfNull())};Eccentricity:{Eccentricity};" +
                                 $"IntegratedLineCount:{IntegratedLineCount};IntegratedLineList:{((String.IsNullOrEmpty(IntegratedLineList)) ? "-" : IntegratedLineList.EmptyIfNull())};" +
                                 $"IntegratedNodeCount:{IntegratedNodeCount};IntegratedNodeList:{((String.IsNullOrEmpty(IntegratedNodeList)) ? "-" : IntegratedNodeList.EmptyIfNull())};" +
                                 $"SetIntegratedObjects:{SetIntegratedObjects};ControlPoints:{((ControlPoints == null) ? "-" : ControlPoints.ToLabelString())};Tag:{((String.IsNullOrEmpty(Tag)) ? "-" : Tag)};" +
                                 //$"Weights:{(Weights.ToString())};KnotsX:{(KnotsX.ToLabelString())};KnotsY:{(KnotsY.ToLabelString())};" +
                                 //$"OrderU:{(OrderX.ToString())};OrderV:{(OrderY.ToString())};" +
                                 $"IsValid:{IsValid};IsGenerated:{IsGenerated};ID:{((String.IsNullOrEmpty(ID)) ? "-" : ID)};" +
                                 $"ToModify:{ToModify};ToDelete:{ToDelete};Comment:{((String.IsNullOrEmpty(Comment)) ? "-" : Comment.EmptyIfNull())};"));
        }