Skull 0 Report post Posted September 8, 2017 I can create a macro to record a process of creating solid pretension on a bolt. But i wish to run that macro on different bolts of different length and different position in coordinate system. Basically completely different bolts. For that i need to define different planes for each bolt. And i can define planes by using face groups by using one of the simlab utility functions. But i cant figure out a way to incorporate that utility function to create planes in the macro that i have recorded. Attached image for better understanding. I wish to insert the variables "PlanePoint1, PlanePoint2, PlanePoint3", which i get from utility function into the place of numerical value of "PointA" and so on. Is it possible? Quote Share this post Link to post Share on other sites
Rahul R 316 Report post Posted September 8, 2017 Please refer attached sample script placed in help document. Quote Share this post Link to post Share on other sites
Skull 0 Report post Posted September 8, 2017 8 minutes ago, Rahul R said: Please refer attached sample script placed in help document. Thanks, that works. i was trying without " " . Where can i find such attached sample scripts. Are these available in 14.1? Quote Share this post Link to post Share on other sites
Rahul R 316 Report post Posted September 8, 2017 Yes this is available with 14.1 as well.Press F1:Project:Scripting:Script utilities:Define plane from group:Then click on sample script Quote Share this post Link to post Share on other sites