biw01
Automotive
- Dec 31, 2011
- 152
Hello Everyone,
Which API should i use to replicate the below function in UFCfi to get the file specification ?
Combine a directory with a filename producing a file specification (filespec)
Below is the data obtained from the NX help file (NxOpen.NET API Reference)
uc4575 (view source)
Defined in: uf_cfi.h
Overview
Combine a directory with a filename producing a file specification (filespec).
For example:
dspec = "/manager", ftype = 2, fname = "bar"
will produce fspec = "/MANAGER/BAR.PRT".
If the file name is a directory, using a filetype of 100 will merge the
directories. For example:
dspec = "/manager", ftype = 100, fname = "bar"
will produce fspec = "/MANAGER/BAR".
Environment
Internal and External
See Also
For description of file types see table
int uc4575
(
const char * dspec,
int ftype,
const char * fname,
char * fspec
)
const char * dspec Input Directory
int ftype Input File type
const char * fname Input File name
char * fspec Output Resultant file specification
Which API should i use to replicate the below function in UFCfi to get the file specification ?
Combine a directory with a filename producing a file specification (filespec)
Below is the data obtained from the NX help file (NxOpen.NET API Reference)
uc4575 (view source)
Defined in: uf_cfi.h
Overview
Combine a directory with a filename producing a file specification (filespec).
For example:
dspec = "/manager", ftype = 2, fname = "bar"
will produce fspec = "/MANAGER/BAR.PRT".
If the file name is a directory, using a filetype of 100 will merge the
directories. For example:
dspec = "/manager", ftype = 100, fname = "bar"
will produce fspec = "/MANAGER/BAR".
Environment
Internal and External
See Also
For description of file types see table
int uc4575
(
const char * dspec,
int ftype,
const char * fname,
char * fspec
)
const char * dspec Input Directory
int ftype Input File type
const char * fname Input File name
char * fspec Output Resultant file specification