StairsRun.SetLocationPathForStraightRun
Description:
Set location path for a straight run by giving a line.
Set location path for a straight run by giving a line.
-
stairsRunThe run whose location path will be set.
-
locationPathThe location path.
Return Value
bool
Indicate if set is success or not.
-
The input locationPath is not a bound line. -or- The input locationPath is not a valid location path line for straight run. -or- The locationPath is not valid line used as stairs path(probably it's too short).
-
A non-optional argument was null
-
The stairs element represented by stairsRun is not in an active StairsEditScope. The run cannot be modified.
-
The locationPath doesn't satisfy restrictions to generate straight run.