Click or drag to resize
SoFieldEnableConnection Method

Field connections may be enabled and disabled.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void EnableConnection(
	bool flag
)

Parameters

flag
Type: SystemBoolean
Remarks

Disabling a field's connection is almost exactly like disconnecting it; the only difference is that you can later re-enable the connection by calling OIV.Inventor.Fields.SoField.EnableConnection(System.Boolean)( true ). Note that disconnecting an engine output can cause the engine's reference count to be decremented and the engine to be deleted, but disabling the connection does not decrement its reference count.

Re-enabling a connection will cause the value of the field to be changed to the engine output or field to which it is connected.

A field's connection-enabled status is maintained even if the field is disconnected or reconnected. By default, connections are enabled.

See Also