How to change the size and color of Petrel "Attributes Labels" using Ocean

Posted by Nautilus on Stack Overflow See other posts from Stack Overflow or by Nautilus
Published on 2011-06-11T16:30:21Z Indexed on 2013/10/28 9:54 UTC
Read the original article Hit count: 228

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about ocean

Related posts about petrel