my code is the following:
uint? WT = new uint();
Bentley.DgnPlatformNET.ElementPropertiesGetter propGet = new Bentley.DgnPlatformNET.ElementPropertiesGetter(Element);
WT = propGet.Weight;
and the result is 0 ,although the weight is bylevel?
Does somebody has any idea?
what CE version do you use?
Labyrinth Technology | dev.notes() | cad.point
I'am using CE Update 10,
By default, it should return 0. Have you tried changing via property pane.
Mangesh.Shelar said:By default, it should return 0.
I am not sure how it's implemented in CE API, but historically when element property is "by level", -1 is returned.
When talking about ElementPropertiesGetter, how it can be checked whether a property (color, style, weight) is set to ByLevel?
Let me take this with my colleague, I will let you know soon. Thanks.