public VoxelVariableProfile GetVariableProfile( string variableName )
Public Function GetVariableProfile( _ ByVal variableName As String _ ) As VoxelVariableProfile
Parameters
- variableName
- The variable name
public VoxelVariableProfile GetVariableProfile( string variableName )
Public Function GetVariableProfile( _ ByVal variableName As String _ ) As VoxelVariableProfile
{
var mapView = MapView.Active;
await QueuedTask.Run(() =>
{
var locked_section = mapView?.GetSelectedLockedSections()?.FirstOrDefault();
if (locked_section != null)
{
var variable = locked_section.Layer.GetVariableProfile(locked_section.VariableName);
locked_section.Layer.SetSelectedVariableProfile(variable);
}
});
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)