You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.
From Menno on plug-ins newsgroup
If I run the code below, the returned value is null. I expected it to be an
empty array.
protected override Result RunCommand(RhinoDoc doc, RunMode mode)
{
String[] defaultValue = new string[0];
String[] result = Settings.GetStringList("NO_KEY", defaultValue);
if (null == result)
RhinoApp.WriteLine("Result is null"); //unexpected
else
{
RhinoApp.WriteLine("Result length: {0}",result.Length); // expected
output length => 0
}
return Result.Success;
}
The text was updated successfully, but these errors were encountered: