public CIMVisualVariable[] VisualVariables {get; set;}
Public Property VisualVariables As CIMVisualVariable()
public CIMVisualVariable[] VisualVariables {get; set;}
Public Property VisualVariables As CIMVisualVariable()
var featureLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<FeatureLayer>().FirstOrDefault(); QueuedTask.Run(() => { var cimRenderer = featureLayer.GetRenderer() as CIMUniqueValueRenderer; var cimRotationVariable = cimRenderer.VisualVariables.OfType<CIMRotationVisualVariable>().FirstOrDefault(); var rotationInfoZ = cimRotationVariable.VisualVariableInfoZ; var rotationExpression = rotationInfoZ.ValueExpressionInfo.Expression; // this expression stores the field name });
Target Platforms: Windows 11, Windows 10