Internal code of TeklaStructures creates assembly automatically when a part is inserted.
myPart.Insert();
myPart.GetAssembly(); // returns the assembly created by internal code
Originally posted by @CarlosHerrero in #13 (comment)
myPart.Insert();
this is not working for me as i have to do unit testing of my function which takes assembly as input and while unit testing i can not insert functionality