How to set the transfer key in an imported cut boundary?
See script below:
imported_load_group = DataModel.GetObjectsByName('Submodeling (A6) ')#change as needed imported_displacement = imported_load_group[0].AddImportedCutBoundaryConstraint() prop=imported_displacement.PropertyByName('PROPID_SubmodelingKey') prop.InternalValue=2 # change to 0 for solid solid and 2 for shell-solid
The above was tested and works in 2024R2 and later.