AnsweredAssumed Answered

Material file path setting is empty

Question asked by Nirantar Vidyarthee on Aug 11, 2020
Latest reply on Aug 11, 2020 by Amen Allah Jlili

The following code returns an empty string instead of the path of the material database.

What am I doing wrong?

 

Dim matLibPath As String

matLibPath = Part.GetUserPreferenceStringValue(swUserPreferenceStringValue_e.swFileLocationsMaterialDatabases)

Outcomes