Click or drag to resize
SoFieldContainerHasDefaultValues Method

Returns true if all of the object's fields have their default values.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.9.1.0 (10.9.1.0)
Syntax
public bool HasDefaultValues()

Return Value

Type: Boolean
Remarks

This will return true even if a field's isDefault() method returns false - for example, if a field's default value is 0.0 and you setValue(0.0) that field, the default flag will be set to false (because it would be too slow to compare the field against its default value every time setValue is called). However, OIV.Inventor.Fields.SoFieldContainer.HasDefaultValues() would return true in this case.

See Also