HyperMesh and BatchMesher

Connectors User Control Mode

Connectors User Control Mode

Previous topic Next topic No expanding text in this topic  

Connectors User Control Mode

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Each individual connector can be placed in a user control mode using either the *CE_SetSpecificDetailById or *CE_SetSpecificDetail commands.  This user control mode is most useful for automated Tcl scripts.  Once in user control mode, the following procedures are possible for a given connector:

Pre-existing FE can be registered as a given connector’s realization by using the *CE_FE_Register command.
Connectors can be edited without automatically unrealizing (as happens most notably when a link is added or removed from a connector, or when an FE realization entity is deleted).
A connector’s state can be manually changed from realized to failed, or from failed to realized by using either the *CE_SetSpecificDetailById or *CE_SetSpecificDetail commands.  A connector’s state will not change to or from the unrealized state using this method.

Once a connector is placed into you control mode, you control mode remains active until an unrealize command is called (such as *CE_Unrealize), an already realized connector is re-realized, or you control mode is manually turned off with either the *CE_SetSpecificDetailById or *CE_SetSpecificDetail commands.  While a given connector is in user control mode, it may not behave the same as a normal connector.  Specifically, there are a number of scenarios where a user-controlled connector will not auto unrealize in response to database changes that would cause a normal connector to auto unrealize.

Note:It is strongly recommended that when FE is registered to a user-controlled connector, that the connector links and other necessary details should also be set with a given connector (so that the connector can properly re-realize if a user interactively requests it to).  At the bare minimum, connectors should know which links they are to connect.

 

 

See Also:

*CE_SetSpecificDetailById

*CE_SetSpecificDetail

*CE_FE_Register