Create BPM card for Multiple Rigid Parts and NRBs
Two scripts to create boundary prescribed motion cards for rigid parts and nrbs.
Two scripts to create boundary prescribed motion cards for rigid parts and nrbs.
First prompts the user to identify a ‘base’ BPM card. This card should have been set up prior to running the script for one of the parts or nrbs (depending on which script you’re running). The settings from this BPM card (DOF, LCID etc) are then copied over during the second part of the script that asks the user to select the relevant rigid parts/nrbs, which will have BPM cards created for.
Logic added that prevents a duplicate BPM card from being created should you select the same nrb/part in step 2 as used in the base BPM card selected in step 1. (So it’s ok to just select ‘all’ in step 2).
By default the include file for the new BPM cards will be the same as the ‘base’. You can change this so that the new card is put in the same include as it part/nrb by swapping lines 44 and 45 (one is commented out, the other is ‘active’).