How to change the size and color of Petrel "Attributes Labels" using Ocean
- by Nautilus
I add a property to a PolylineSet using the code below (In the Petrel UI they are named “Attribute labels”)
using (ITransaction trans = DataManager.NewTransaction())
{
trans.Lock(polylineSet);
PolylinePropertyCollection ppc = polylineSet.CreatePropertyCollection();
trans.Lock(ppc);
property = ppc.CreateProperty(PetrelProject.WellKnownTemplates.MiscellaneousGroup.General, name);
trans.Commit();
}
I would like to change the size and color.
Does anyone know if this is possible via Ocean?
I want to do this because these labels have a size of 1 and color black and it isn't a good default for me.
Thanks in advance