Remote Displacement, PromoteToRemotePoint()
Hi
I want to change the 'Scoping Method' to 'Remote Point' in Remote Displacement and select my existing Remote Point.
I run this code:
RP = ExtAPI.DataModel.Project.Model.AddRemotePoint() # create remote point
RD = ExtAPI.DataModel.Project.Model.Analyses[0].AddRemoteDisplacement() # create remote displacement
RD.PromoteToRemotePoint() = RP # here I need to assing my existing remote point to the scoping method in remote displacement
If I run this function RD.PromoteToRemotePoint() it creates a brand new remote point that I don't need, instead I need to select my existing remote point
Best Answer
-
Hi @sombodyfromtheworld ,
PromoteToRemotePoint()
works as expected, it promotes the remote boundary condition to a remote point. This is the behavior you would get in the GUI with a RMB click on the remote displacement / promote to remote point.In your case, as the RP already exists, you just have to modify the scoping in the remote displacement:
RD.Location = RP
1
Answers
-
@Pernelle Marone-Hitz Thank you very much for a support, yes this is want I wanted
1