For Hypermesh: OptiStruct profile:
Please suggest a tcl macro for the following.
- For each component whose ID starts from 10001, check the assigned property.
- Duplicate the assigned property.
- Rename the duplicated property with the component name.
- Renumber the duplicated property ID with the component ID.
- Assign this property to the component.
Reason for doing this:
- Properties with correct thicknesses (and material for most components) are already assigned in the existing model. But the property name is very generic (example: shell_2mm, shell_3mm, etc)
In the end, I want a unique property with correct thickness for each component.
Kindly let me know if more details are required.
Note: After this operation, I will have another requirement of fetching correct material name for each component from an external excel sheet. Will try this later.