Click or drag to resize

ConnectorConnectTo Method (Connector, ConnectorAlignment, Boolean, Boolean, Action)

Connect this and another connector together (Only usable from C# scripting, not JScript).

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public virtual void ConnectTo(
	Connector c,
	ConnectorAlignment alignment,
	bool allowMultiple,
	bool centerSnap,
	Action action
)

Parameters

c
Type: Demo3D.VisualsConnector
The Connector to connect to.
alignment
Type: Demo3D.VisualsConnectorAlignment
How to align the connectors on connect.
allowMultiple
Type: SystemBoolean
Allow multiple connections.
centerSnap
Type: SystemBoolean
Snap connector to center of object.
action
Type: SystemAction
Action to run just prior to notifying of new connections.
Remarks
This method is only usable from CSharp scripting, and not JScript.
See Also