you can now choose a different branch(master is always the latest. The development branch follow the number of the milestone. The current one is 23.9.0)
Can I add something to my local FemDesign.Core?
Example if I want to try adding a method overload to ConcreteMaterialProperties that changes mass.
In FemDesign.Materials.Material.cs
public static Material ConcreteMaterialProperties(Material material, double mass)
{
if (material.Concrete != null)
{
// deep clone. downstreams objs will have contain changes made in this method, upstream objs will not.
Material newMaterial = material.DeepClone();
// downstream and uppstream objs will NOT share guid.
newMaterial.EntityCreated();
// set parameters
newMaterial.Concrete.SetMaterialParameters(mass);
newMaterial.EntityModified();
// return
return newMaterial;
}
else
{
throw new System.ArgumentException("Material must be concrete!");
}
}
Have a look at the following blog post. I try to explain how to develop/collaborate on a project
I hope is clear. If not, let me know and I will modify it with some additional comments.
I read the post and I think it gives a good overview of a lot of the questions I have had
Maybe one point could be to recommend commit (save) before switching branch?
I have manage to lose some work not doing that
My understanding is that stash dosent includes untracked files that ex. new files are.