I'm trying to change the field normalization type from Radial to Rectangular in MATLAB but cannot figure out the Syntax:
I've tried the following
sysField = TheSystem.SystemData.Fields;
1. sysField.Normalization(ZOSAPI.FieldNormalizationType.Rectangular); - This doesn't work because Normalization is property with a get/set
2. sysField.Normalization = ZOSAPI.FieldNormalizationType.Rectangular;
3. sysField.Nomalization.GetType = ZOSAPI.FieldNormalizationType.Rectangular;
Will somebody point me in the correct direction to figure out this syntax?
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
but as the Field Normalization Type is an enumeration, we need to use
so we need to write:
sysField.Normalization = ZOSAPI.SystemData.FieldNormalizationType.Rectangular
I hope this helps!