Hi Eddy,
isn´t there is a simple way to write directly to the mop f.e.
profile.DepthIncrement = new CamBam.Values.CBValue<double>(double.Parse("2.2"));
This mechanism works fine for a lot of stuff !
Obviously the problem is, that LeadIn/Out and tabs are using a complicated mechanism to access the properties.
Seems that at first a "structure" has be copied out, then modified and then write back again. Somehow...
The snippets are running, but they all are writing new data, not modify the properties of an already exisiting mop
Problem is that this is not resolved at runtime, keep in mind that "profile" is defined as
public object profile, the concrete type is set at runtime. (Profile, Pocket, Engrave, Drill)
Until this point this was VERY "elegant".
Whatever I try, it crashed at runtime. See screenshot above.
It´s always the same bermuda triangle.
Do you have another idea ?
Best regards
Bernhard