Gets the elevation of a Story Level, relative to its containing Story.
FUNCTION GetLevelElevation(
storyHandle : HANDLE;
levelType : STRING): REAL;def vs.GetLevelElevation(storyHandle, levelType):
return REAL| Name | Type | Description |
|---|---|---|
| storyHandle | HANDLE | The handle of the Story containing the Story Level we would like to know the elevation of. |
| levelType | STRING | The level type of the Story Level that we would like to know the elevation of. |
resultVal := GetLevelElevation(storyHandle, 'Example');import vs
# Gets the elevation of a Story Level, relative to its containing Story.
storyHandle = vs.FSActLayer() # handle to the first selected object on the active layer
levelType = 'Example'
value = vs.GetLevelElevation(storyHandle, levelType)
vs.Message('GetLevelElevation returned: ' + str(value))VS Functions: CreateStory | AddStoryLevel | RemoveStoryLevel | AddLevelFromTemplate | SetLevelElevation
Availability: from Vectorworks 2015