Click or drag to resize

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

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

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

Parameters

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