Click or drag to resize
SoMFFieldContainerStartEditing Method

Returns a pointer to the internally maintained array that can be modified.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoFieldContainer[] StartEditing()

Return Value

Type: SoFieldContainer
Remarks

The values in the array may be changed, but values cannot be added or removed. It is illegal to call any other editing methods between OIV.Inventor.Fields.SoMFFieldContainer.StartEditing() and OIV.Inventor.Fields.SoMFFieldContainer.FinishEditing() (e.g. (), OIV.Inventor.Fields.SoMFFieldContainer.SetValue(OIV.Inventor.Fields.SoFieldContainer), etc.).

Fields, engines or sensors connected to this field and sensors are not notified that this field has changed until OIV.Inventor.Fields.SoMFFieldContainer.FinishEditing() is called. Calling OIV.Inventor.Fields.SoMFFieldContainer.FinishEditing() always sets the OIV.Inventor.Fields.SoField.IsDefault() flag to false and informs engines and sensors that the field changed, even if none of the values actually were changed.

See Also