Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a revit file that has several different line styles. I am trying to write a C# routine that will create a large schedule. The schedule is in a detail view so all elements are detail lines and text. I searched the API help file and found "public Element LineStyle { get; set; }". I see that is a member of the "CurvedElement" class. I am beginning to learn C# and the API calls. Can someone show me a couple of lines of how to call the appropriate method to set the active line style. I have line style "LineWt2" and "LineWt6". I want to the active line style to be "LineWt6" when the detail line is drawn. Your help greatly appreciated.
Solved! Go to Solution.