Click or drag to resize
SoSFArrayStartEditing 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: 2023.1.3.0 (2023.1.3)
Syntax
public SbNativeArray<byte> StartEditing(
	out SbVec3i32 size,
	out SbDataType dataType
)

Parameters

size
Type: OIV.InventorSbVec3i32
dataType
Type: OIV.InventorSbDataType

Return Value

Type: SbNativeArrayByte
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.SoSFArray.StartEditing(OIV.Inventor.SbVec3i32@, OIV.Inventor.SbDataType@) and OIV.Inventor.Fields.SoSFArray.FinishEditing() (e.g. OIV.Inventor.Fields.SoSFArray.SetValue(OIV.Inventor.SbVec3i32, OIV.Inventor.SbDataType, OIV.Inventor.Generic.SbNativeArray{{System.Byte}}, OIV.Inventor.Fields.SoSFArray.CopyPolicies), etc.). Fields, engines or sensors connected to this field are not triggered until OIV.Inventor.Fields.SoSFArray.FinishEditing() is called. Calling OIV.Inventor.Fields.SoSFArray.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