I am searching for copy directory structures from one location to another using NXOpen APIs.
I found RemoteUtilities::copyFile() function but it just copies file. Can anyone please tell me how to get handle to directory or traverse through Director? Is there NXOpen API present for this or not?
Solved! Go to Solution.
There is no NXOpen call, since regular file system handling is supported by the development language you use. Search the web for examples of the task written in your development language.
NXOpen is only an extension covering the NX specific environment, regular environments are subject to the development language.
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX12.0 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
There were (and are) GRIP commands for doing this sort of thing. I suppose that's one reason people expect to find analogous NX/Open functions. But, there aren't any, because the .NET framework provides them, instead.
To help people migrating from GRIP, there is some discussion of .NET functions for handling files and directories in the "SNAP and NX/Open for GRIP Enthusiasts" document (which is included in the standard NX docs). See section 24 of that document.