Elzubeir
Subscriber
After I modeled the master particle, I have wrote this code to copy it to other position (x,y,z). The issue is I am looking for a function to read these values from text or excel file as input to be changed till end of the columns nthe codenresult = Copy.ToClipboard(Selection.Create(GetRootPart().Bodies[master particle]))nresult = Paste.FromClipboard()nselection = Selection.Create(GetRootPart().Bodies[1])noptions = MoveOptions() nmoveType = TransformType.RotateX nresult = Move.Execute(selection, globalSystem, moveType, DEG(value1), options) nselection = Selection.Create(GetRootPart().Bodies[1])nmoveType = TransformType.RotateZ nresult = Move.Execute(selection, globalSystem, moveType, DEG(value 2), options) nselection = Selection.Create(GetRootPart().Bodies[1])noptions = MoveOptions() nmoveType = TransformType.TranslateX nresult = Move.Execute(selection, globalSystem, moveType, MM(value 3), options) nselection = Selection.Create(GetRootPart().Bodies[1])noptions = MoveOptions() nmoveType = TransformType.TranslateY nresult = Move.Execute(selection, globalSystem, moveType, MM(value 4), options) nselection = Selection.Create(GetRootPart().Bodies[1])noptions = MoveOptions() nmoveType = TransformType.TranslateZ nresult = Move.Execute(selection, globalSystem, moveType, MM(value 5), options) nresult = Copy.ToClipboard(Selection.Create(GetRootPart().Bodies[master particle]))nresult = Paste.FromClipboard()Thanksn