Click or drag to resize
SoDataSetEditTile Method (SoLDMTileID, SoBufferObject)

Replace the contents of a tile with the given data.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public virtual int EditTile(
	SoLDMTileID tileId,
	SoBufferObject userData
)

Parameters

tileId
Type: OIV.LDMSoLDMTileID
userData
Type: OIV.Inventor.DevicesSoBufferObject

Return Value

Type: Int32
Remarks

The buffer size (in bytes) must match the tile size (in bytes) exactly. Call startEditing() before calling this method. Returns 0 if successful.

The modification may be postponed until the tile is really needed. Therefore the contents of the userData buffer must not be modified until after saveEditing() is called.

See Also