16
Scripts and Plugin Help / Re: c# - Plugin Questions
« on: February 04, 2022, 09:20:17 am »
Were are running in a circle. :-)
So ... can I do anything to force this "Caching" ? Or wait for ?
Best regards
Bernhard
Code: [Select]
case "LIAaaaaa":
// always false, so nothing happens
if (profile.LeadInMove.IsCacheSet)
{
profile.LeadInMove.Cached.SpiralAngle = double.Parse(ParameterValue);
}
break;
case "LIAxxxxxx":
// this crashes at runtime : Cannot perform runtime binding on a null reference
profile.LeadInMove.Cached.SpiralAngle = double.Parse(ParameterValue);
break;
case "LIA":
// this crashes at runtime : CamBam.Values.CBValue<CamBam.CAM.LeadMoveInfo> does not contain a definitionfor SpiralAngle
profile.LeadInMove.SpiralAngle = double.Parse(ParameterValue);
break;
So ... can I do anything to force this "Caching" ? Or wait for ?
Best regards
Bernhard



