示例#1
0
        public static List <SurfaceUserDefinedContourTable> GetSurfaceUserDefinedContourTables(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <SurfaceUserDefinedContourTable> retList = new List <SurfaceUserDefinedContourTable>();

            foreach (DBObject dbOb in GetStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.SurfaceUserDefinedContourTableStyles))
            {
                SurfaceUserDefinedContourTable style = new SurfaceUserDefinedContourTable(dbOb, false);
                retList.Add(style);
            }
            return(retList);
        }
示例#2
0
        public static SurfaceUserDefinedContourTable ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string styleName)
        {
            SurfaceUserDefinedContourTable retStyle = new SurfaceUserDefinedContourTable(CivilStyle.DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.TableStyles.SurfaceUserDefinedContourTableStyles, styleName), false);

            return(retStyle);
        }