Answers for "Invisible line style revit api"

C#
0

Invisible line style revit api

List<GraphicsStyle> _styles = new FilteredElementCollector(doc)
            .OfClass(typeof(GraphicsStyle))
            .Cast<GraphicsStyle>()
            .ToList();

            GraphicsStyle invisibleLineStyle = null;
            foreach (GraphicsStyle g in _styles)
            {
                if (g.Name == "<Invisible lines>")
                {
                    invisibleLineStyle = g;
                    break;
                }
            }
Posted by: Guest on August-03-2021

C# Answers by Framework

Browse Popular Code Answers by Language