Message 1 of 2
Stair Generation - locationPath issue

Not applicable
06-08-2021
08:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All!
I am trying to generate stair runs using:
Line locationLine = Line.CreateBound(StartPoint,EndPoint);
StairsRun newRun = StairsRun.CreateStraightRun(document, newStairsId, locationLine, StairsRunJustification.Center);
Unfortunately for these lines that have locationLine.Direction = (0, -1, 0) Im getting this error:
The input locationPath is not a valid location path line for straight run.
Parameter name: locationPath
The lines seem to be ok nothing different from lines of stairs that were generated successfully apart from the direction.
Has anyone faced a similar issue?
Thanks for help in advance!