CS_NXOpen_0011_MoveBodies2Components
using System; using NXOpen; using NXOpen.UF; public class NXJournal { static Session theSession = Session .GetSession(); static UFSession theUFSession = UFSession .GetUFSession(); static Part workPart = theSession.Parts.Work; public static void Main( string [] args) { // Move multiple bodies from Assembly level into an individual components theSession.SetUndoMark( Session . MarkVisibility .Visible, "Create Body Components" ); bool nxMan = false ; theUFSession.UF.IsUgmanagerActive( out nxMan); string tmp_dir = null ; theUFSession.UF.TranslateVariable( "UGII_TMP_DIR" , out tmp_dir);...