Sets the elevation of a Story Level relative to its Story.
FUNCTION SetLevelElevation(
storyHandle : HANDLE;
levelType : STRING;
newElevation : REAL): BOOLEAN;def vs.SetLevelElevation(storyHandle, levelType, newElevation):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| storyHandle | HANDLE | The handle of the Story with the desired Story Level. |
| levelType | STRING | The level type of the Story Level to change the elevation of. |
| newElevation | REAL | The new elevation for the Story Level. |
resultOK := SetLevelElevation(storyHandle, 'Example', 1.0);import vs
# Sets the elevation of a Story Level relative to its Story.
storyHandle = vs.FSActLayer() # handle to the first selected object on the active layer
levelType = 'Example'
newElevation = 0.0
ok = vs.SetLevelElevation(storyHandle, levelType, newElevation)
if ok:
vs.Message('SetLevelElevation succeeded')
else:
vs.Message('SetLevelElevation failed')VS Functions: CreateStory | AddStoryLevel | RemoveStoryLevel | AddLevelFromTemplate | GetLevelElevation
Availability: from Vectorworks 2015