Stair generation - invalid locationPath

Stair generation - invalid locationPath

Anonymous
Not applicable
286 Views
0 Replies
Message 1 of 1

Stair generation - invalid locationPath

Anonymous
Not applicable

Hi all!

 

I am trying to generate stairs using  

 

Line locationLine = Line.CreateBound(StartPoint,EndPoint);
StairsRun.CreateStraightRun(document, newStairsId, locationLine, StairsRunJustification.Center);

 

 

For majority of stairs it works fine but these that have 

 

locationLine.Direction = (0, -1, 0)

 

 

I am getting this error with no explanation why the path is invalid: 

The input locationPath is not a valid location path line for straight run.
Parameter name: locationPath

 

Has anyone had a similar issue before? What could make the locationLine "invalid"?

 

Thanks for help!

0 Likes
287 Views
0 Replies
Replies (0)