Message 1 of 6
Get Element's LevelID through .LevelID or through Params
Not applicable
10-08-2018
04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In a model that I'm analyzing I find many elements where their
element.LevelId
is -1, but the
element.LookupParameter("Level").AsElementId().IntegerValueHas a valid level value.
What is the difference, and should I fall back from the first method to the second one if the value is -1?