A program to recognize and reward our most engaged community members
here is a simpler example of the problemthe elements are present in one Component (Auto)with mixed property (all 4 thickness assinged to the elements) i have even attached solver deck file.after the reorganizing the elements and sorting them into new Components, with their respective prop_name as Component_name assigned with respective property ID it would be as shown below.
i have done this manually, in the actual model there is more than 150 properties to be done in the same wayis there any simpler way to do it, kindly suggest.thanks in advanceXavier
The attached should get you what you want. Should be pretty easy to modify too.
Hello Ben,
thanks for script, it helps in half of the work( Creates new Components and stores the respective property elements in that component)
but the other half is left out( Renaming the Component name as same the Property name, and assigning the Components to their respective property)
kindly have a look into the below indication.
Hello Ben, thanks for script, it helps in half of the work( Creates new Components and stores the respective property elements in that component) but the other half is left out( Renaming the Component name as same the Property name, and assigning the Components to their respective property) kindly have a look into the below indication.
For the name you can change line 28 to:
set newComp [hm_latestentityid comp name="$propName"]
and to add that property to the component use the following:
*setvalue comps id=$newComp property=$propID
or you can forget all this and just import your model and create components by property.
LoL sorry I didn't think of this before.