projectLocation()

Synopsis

Returns the entire path of the current Intent project, without the project name, as a string . The Intent project is stored in the top level assembly file in Inventor, so this function should return those file locations in most cases.

Note that projectLocation() has no relationship to the Inventor project (ipj) workspace location. To find the Inventor project workspace location, use iv_ProjectWorkspace()

Syntax

projectLocation ( ) As String 

Example 1

projectLocation() 
-->  "C:\Users\Public\Documents\Autodesk\Inventor ETO 2012\Inventor\Samples"