*CE_ConnectorCreateWithRules
Creates connector(s) at the specified location(s) with defined rules.
Syntax
*CE_ConnectorCreateWithRules entities markmask entity entitymark ent_state ce_rules ce_le_rule tol_flag tolerance num_ents
Type
HyperMesh Tcl Modify
Description
Creates connector(s) at the specified location(s) with defined rules.
Inputs
- entities
- Types that specify location of connector(s).
- Nodes
- Points
- markmask
- The mark for nodes or points.
- entity
- The entity type to be added to the connector as a link:
- nodes
- elems
- tags
- surfs
- comps
- entitymark
- Mark of entities to add to the connector as links.
- ent_state
- Specifies whether geometry or FE gets precedence during realization of connector.
Applicable to components and surfaces only.
- 0 - geoms
- 1 - elems
- ce_rules
- Rule to specify if and how a link entity is to be added to a connector.
- 0 - none
- 1 - now
- 2 - at fe realize
- ce_le_rule
- Rule that specifies how an entity is to be remembered by the connector.
- 0 - none
- 1 - use ID
- 2 - use name
- tol_flag
- Specifies if tolerance value is applicable.
- 0 - Use default.
- 1 - Use specified value.
- tolerance
- Specified to add entities only with in the given tolerance from the specified connector (same as search radius in fe realize panel).
- num_ents
- Total number of entities to add/update connector (connectors thickness (2T, 3T, etc.) value).
Examples
Create a connector at point 1 and add nearest 2 of the four components specified within a
tolerance of 1.0. Components need to be connected through elements in them and not geometry
if connector is realized. Remember the components by their IDs.
*createmark(points, 1) 1
*createmark(components, 2) 21 23 24 27
*CE_ConnectorCreateWithRules(points, 1, components, 2, 1, 1, 1, 1, 1.0, 2)
Created connector is displayed as a cylinder and only the closest two components are added to it. The total number of layers defined at the connector is 2.