*CE_ConnectorLineCreateWithRules
Creates connector(s) at the specified location(s) with defined rules.
Syntax
*CE_ConnectorLineCreateWithRules entities markmask density spacing half_spacing_offset offset entity entitymark ent_state ce_rules ce_le_rule tol_flag tolerance num_ents
Type
HyperMesh Tcl Modify Command
Description
Creates connector(s) at the specified location(s) with defined rules.
Inputs
- entities
- Types that specify location of connectors.
- markmask
- The mark for lines.
- density
- Integer number to split line into number of points. Spacing between points (= line_length/density).
- spacing
- Float number to split line into number of points with specified distance between points (= spacing).
- half_spacing_offset
- Create points from an offset (= spacing/2) from the start and end of line.
- offset
- Create points from an offset (= offset) from the start and end of line.
- entity
- Type of entity 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 has 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
- Number of entities to add/update for a connector (connectors thickness (2T, 3T, etc.) value).
Examples
Create a connector at line 1 with spacing of 2.0 and
half_spacing_offset, and add nearest two of the four components specified
within a tolerance of 1.0. If the connector is realized, components must be connected
through their elements rather than geometry. Remember the components by their IDs.
*createmark lines 1 1
*createmark components 2 21 23 24 27
*CE_ConnectorLineCreateWithRules points 1 0 2.0 1 0.0 components 2 1 1 1 1 1.0 2
A created connector is displayed as a cylinder at the center of the line and only the closest two components are added to it. The total number of layers defined at the connector is two.