Model.CE_FE_SetDetailsAndRealize#
- Model.CE_FE_SetDetailsAndRealize(connector_collection, config, tolerance, property_id, systems, snap_to_node, remesh, force_collinear, diameter, fe_type, file_names)#
Set FE realization details for the connector(s) on mark and realize them with welds.
- Parameters:
connector_collection (Collection) – The collection containing the connector entities needed to be updated.
config (int) –
Weld element type. Valid values are:
2 - plot
3 - weld
5 - rigid
21 - spring
55 - rigidlink
60 - bar2
61 - rod
70 - gap
104 - quads
1001 - custom
tolerance (double) – The maximum distance allowed between the connector (on
connector_collection) and the entity in order to create welds.property_id (unsigned int) – The ID of property. Used to retrieve property specified for connector.
systems (int) –
Systems flag:
0 - Do NOT build systems
1 - Build systems
snap_to_node (int) – Force weld to use one of the element connectivity nodes rather than create a new node.
remesh (int) –
Specifies if the welded region needs to be re-meshed:
0 - Do not re-mesh
1 - Re-mesh region
force_collinear (int) –
Force all the welds along all layers to be collinear:
0 - Non-collinear welds
1 - Collinear welds
diameter (double) – Diameter value to be used, if the dvstfile is not specified.
fe_type (int) – The FE type for the current solver specified in the FE. Configuration file for custom FE only.
file_names (hwStringList) – The list of strings defining paths of dvstfile, feconfig file and property scripts to be set.
Note
This sets the FE data and also realizes the connectors at one shot. The connectors state is marked as realized and are displayed as green colored cylinders. The dvstfile, property script and config file are used for certain weld types only. The dvstfile and property script can be used to create specific property cards for welds. The FE configuration file is for custom welds only.
Example#
Set the required properties for the connectors with IDs 1, 2 and 3 on collection and FE realize them.#