Click or drag to resize
SoFieldSetIgnored Method

Sets the ignore flag for this field.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetIgnored(
	bool ig
)

Parameters

ig
Type: SystemBoolean
Remarks

When a field's ignore flag is set to true, the field is not used during traversal for rendering and other actions. This flag enables you to ignore certain fields in a node and to use others. For example, to ignore the specular color in a material node so the value is inherited from the previous material. Some fields are not inherited and are thus not affected by the Ignore flag.

Examples of fields that are not inherited are the fields of shape nodes, light-source nodes, some groups, and cameras, as well as the fields in the OIV.Inventor.Nodes.SoEnvironment node. If you set the Ignore flag for a field whose values are not inherited, Open Inventor simply uses the field's default values.

The default value for this flag is false.

See Also