CNSZU
Mechanical
- Sep 2, 2005
- 318
Hello,
I'm trying to use a journal to check if a certain part is located in one of the directories as specified in the assembly load options.
If the load options are set to "From Folder", you can get the search directory by simply getting the full path of the root component. And if it's set to "From Search Folders", you can use
Dim pColl As PartCollection = theSession.Parts
Dim SearchDirectories() As String
Dim bool() As Boolean
pColl.LoadOptions.GetSearchDirectories(SearchDirectories, bool)
But does anyone know how to get the search directories when the assembly load options is set to "As Saved"?
NX9 Win8.1 64bit i7-3770K 16GB Quadro2000
I'm trying to use a journal to check if a certain part is located in one of the directories as specified in the assembly load options.
If the load options are set to "From Folder", you can get the search directory by simply getting the full path of the root component. And if it's set to "From Search Folders", you can use
Dim pColl As PartCollection = theSession.Parts
Dim SearchDirectories() As String
Dim bool() As Boolean
pColl.LoadOptions.GetSearchDirectories(SearchDirectories, bool)
But does anyone know how to get the search directories when the assembly load options is set to "As Saved"?
NX9 Win8.1 64bit i7-3770K 16GB Quadro2000