Hello everybody,
I write journal for create new componets in existing assembly.
I want save new components in the assembly folder.
For native find this folder is easy:
I have problem with find it in TC.
I only know formula for select these folder:
I can't find something like (f.ex.)
theSession.PdmSession.GetFolder ("@DB/myfile/A")
Maybe somebody know, which I have to use formula
Best regards
Michał Nowak
NX9 & Tc10
I write journal for create new componets in existing assembly.
I want save new components in the assembly folder.
For native find this folder is easy:
Code:
currentPath = Path.GetDirectoryName(workPart.FullPath)
currentFile = Path.GetFileNameWithoutExtension(workPart.FullPath)
I only know formula for select these folder:
Code:
theSession.PdmSession.SetDefaultFolder("user:BaseFolder:EndFolder")
I can't find something like (f.ex.)
theSession.PdmSession.GetFolder ("@DB/myfile/A")
Maybe somebody know, which I have to use formula
Best regards
Michał Nowak
NX9 & Tc10