Hi - actually this is not well exposed yet (and in the the act documentation it is hard to find things many times).
The good part is that the scoping method can be changed through:
pret = ExtAPI.DataModel.Project.Model.Analyses.AddBoltPretension()pret.InternalObject.GeometryDefineBy = 19 # 0=geometry selection, 1=named selection, 19=beam connection, 21=pretension sectionpret.InternalObject.BeamConnectionSelection = beam_ID
beam_ID one can get by many ways say one is:
beam = ExtAPI.DataModel.GetObjectsByName(‘My Beam’)beam_ID = beam.ObjectId
All the best
Please Login to Report Topic
Please Login to Share Feed