Community
Sub Project() ' Set a reference to the DesignProjectManager object. Dim oDesignProjectMgr As DesignProjectManager Set oDesignProjectMgr = ThisApplication.DesignProjectManager Dim oProject As DesignProject Dim oDesignProject As DesignProject Set oDesignProject = oDesignProjectMgr.ActiveDesignProject Dim oFrequenlyUsedPaths As ProjectPaths Set oFrequenlyUsedPaths = oDesignProject.FrequentlyUsedPaths Dim oProjectName As String oProjectName = "Project1" Dim oProjectLocation As String oProjectLocation = "C:\temp" 'assumes there's a folder called c:\temp Set oProject = oDesignProjectMgr.DesignProjects.Add(MultiUserModeEnum.kSingleUserMode, oProjectName, oProjectLocation) Dim oFus As ProjectPaths Call oProject.FrequentlyUsedPaths.Add("FreqUsedSubFolder", "C:\temp\test") 'assumes there's a folder called c:\temp\test oProject.Activate End Sub
This is the code from the samples in inventor help, i would like to add a frequently used subfolder.
But the path is striked through. When i manually do this in the project by choosing a folder, inventor accepts the path?
Is this a bug or not possible?
Solved! Go to Solution.