Hi guys,
is tahat the only (and better) way to get the active level?
Dim myModel As ModelReference Dim myLevel As Level Set myModel = ActiveModelReference For Each myLevel In myModel.Levels If myLevel.IsActive = True Then ... ... End If Next ...
Thanks.
BR,
P
Paolo Maggiani said:Is that the only way to get the active level?
Dim oSettings As Settings Set oSettings = ActiveSettings Dim oActiveLevel As Level Set oActiveLevel = oSettings.Level
More concisely...
Dim oActiveLevel As Level Set oActiveLevel = ActiveSettings.Level
Regards, Jon Summers LA Solutions