How can I use a remote point for my remote displacement?
Erik Kostson
Member, Moderator, Employee Posts: 275
✭✭✭✭
Say we have a remote point defined, how can we using scripting assign that remote point to a remote displacement?
Tagged:
0
Comments
-
Below is one way:
analysis=ExtAPI.DataModel.Project.Model.Analyses[0] remote_points_16=ExtAPI.DataModel.Project.Model.RemotePoints remote_point_30 = remote_points_16.AddRemotePoint() selection = ExtAPI.SelectionManager.CreateSelectionInfo(SelectionTypeEnum.GeometryEntities) selection.Ids = [28] remote_point_30.Location = selection remote_point_30.YCoordinate = Quantity(0.1, "m") remote_displacement_32 = analysis.AddRemoteDisplacement() remote_displacement_32.Location=remote_point_30 remote_displacement_32.YComponent.Output.DiscreteValues=[Quantity(0.07, "m")]
1
This discussion has been closed.