Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I want to get floor lines except span direction.
I have a floor that have 4 edge lines and a span direction.
And I get lines with this code.
Sketch floorSketch = doc.GetElement(selectedFloor.SketchId) as Sketch;
List<ModelCurve> floorModelCurves = new List<ModelCurve>();
foreach (ElementId id in floorSketch.GetAllElements())
{
Element el = CommonVariable.CurrentDocument.GetElement(id);
if (el is ModelCurve)
{
floorModelCurves.Add(el as ModelCurve);
}
}
floorModelCurves's count is 5 including span direction.
I tried to except span direction using model line's Name ("Span Direction Edge")
But in Revit Korean version, the name is not same with in English Version.
How can I determine the model line is 'span direction' or not?
Solved! Go to Solution.