is cloning supported by journals
is cloning supported by journals
(OP)
In recording a journal of a cloning operation none of the functions showed up. The work around so far has been to record and edit a macro of the operation.
The obvious goal is to automate a process, but I don't want to update macros every time NX is updated to a new version.
Since a quick search turned up no useful results, can anyone tell me if cloning is supported by the journal functions?
The obvious goal is to automate a process, but I don't want to update macros every time NX is updated to a new version.
Since a quick search turned up no useful results, can anyone tell me if cloning is supported by the journal functions?
NX10.0.0.24 MP1/Windows 7 Service Pack 1





RE: is cloning supported by journals
RE: is cloning supported by journals
NX10.0.0.24 MP1/Windows 7 Service Pack 1
RE: is cloning supported by journals
www.nxjournaling.com
RE: is cloning supported by journals
I. e When you run a clone operation , you will get a logfile.
Take a copy of this and you can modify the names / numbers etc as long as you follow the same syntax.
Then when you are ready , open the clone tool, -Logfiles - Load and apply existing logfile.
If you work under Teamcenter, there is a similar function there.
Regards,
Tomas
RE: is cloning supported by journals
See these links
http://www.eng-tips.com/viewthread.cfm?qid=386526
http://www.eng-tips.com/viewthread.cfm?qid=378131
http://forum.cad.de/foren/ubb/Forum442/HTML/000741...
https://docs.plm.automation.siemens.com/data_servi...
RE: is cloning supported by journals
Thanks for the links. It's good that any language can be translated through google these days. The German posting looks interesting.
NX10.0.0.24 MP1/Windows 7 Service Pack 1
RE: is cloning supported by journals
I know that you are an expert to code journal with clone operation :) (my previous post http://www.eng-tips.com/viewthread.cfm?qid=422728)
So, is there a vb command to launch the prepared logfile ?
Thanks in advance
Regards
Didier Psaltopoulos
http://www.psi-cad.fr
RE: is cloning supported by journals
All I can do is searching the internet
and do trial and failing process till come to something.
RE: is cloning supported by journals
www.nxjournaling.com
RE: is cloning supported by journals
in the previous post is adequate to your need
not to select family members because you select
the components to clone so you can select only
components that are not a family members.
RE: is cloning supported by journals
CODE --> vb.net
Option Strict Off Imports System Imports System.Windows.Forms Imports NXOpen Imports NXOpen.Assemblies Imports NXOpenUI Imports NXOpenUI.FormUtilities Imports NXOpen.UF Module Module1 Public Sub Main() Dim theSession As Session = Session.GetSession() Dim theUISession As UI = UI.GetUI Dim workPart As Part = theSession.Parts.Work Dim displayPart As Part = theSession.Parts.Display Dim theUFS As NXOpen.UF.UFSession = NXOpen.UF.UFSession.GetUFSession() Dim lw As ListingWindow = theSession.ListingWindow Dim Current_Assembly As String = displayPart.FullPath Dim cloner As NXOpen.UF.UFClone = theUFS.Clone cloner.Initialise(NXOpen.UF.UFClone.OperationClass.CloneOperation) cloner.SetDefNaming(UFClone.NamingTechnique.NamingRule) cloner.SetDefDirectory("C:\users\Designer\") cloner.AddAssembly(Current_Assembly, Nothing) Dim opt As NXOpen.UF.UFClone.ExLogOpts opt.allow_missing_components = False Dim namerule1 As NXOpen.UF.UFClone.NameRuleDef namerule1.type = UFClone.NameRuleType.AppendString namerule1.new_string = "-" cloner.SetNameRule(namerule1, Nothing) cloner.SetDryrun(False) cloner.PerformClone(Nothing) cloner.Terminate() End Sub Public Function GetUnloadOption(ByVal dummy As String) As Integer 'Unloads the image when the NX session terminates GetUnloadOption = NXOpen.Session.LibraryUnloadOption.AtTermination End Function End ModuleRE: is cloning supported by journals
http://www.eng-tips.com/viewthread.cfm?qid=423547
RE: is cloning supported by journals
RE: is cloning supported by journals