Click or drag to resize
SoFieldContainerSet Method

Sets one or more fields in this object to the values specified in the given string, which should be a string in the Open Inventor file format.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public bool Set(
	string fieldDataString
)

Parameters

fieldDataString
Type: SystemString

Return Value

Type: Boolean
Remarks

true is returned if the string was valid Open Inventor file format.

For example, you could set the fields of an OIV.Inventor.Nodes.SoCube by doing:

SoCube cube = new SoCube();
cube.Set( "width 1.0 height 2.0 depth 3.2" );

See Also