How to print edge radius of an edge in a Named selection?
Rohith Patchigolla
Member, Moderator, Employee Posts: 182
✭✭✭✭
in Structures
Answers
-
Try the below script.
#Please follow the below script to print the radius of the edges in a Named Selection namedSelectionName = "All Edges" myNS = [child for child in Model.NamedSelections.Children if child.Name == namedSelectionName][0] for edgeId in myNS.Location.Ids: edgeObj = DataModel.GeoData.GeoEntityById(edgeId) #Print radius in Length unit appearing under Details window of Geometry --> Length Unit print(edgeObj.Radius)
0