ProjectPaths Object
Description
The ProjectPaths collection object provides access to a list of folder paths and provides ability to add/remove paths.
Methods
Add |
Method that adds a folder path after the target index and returns the newly created ProjectPath object. |
AddFromFile |
Method that adds folder paths from an existing project (.ipj) \file. |
Clear |
Method that deletes all the paths in the collection. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Property that returns the number of items in the collection. |
Item |
Returns the specified ProjectPath object from the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
DesignProject.FrequentlyUsedPaths,
DesignProject.LibraryPaths,
DesignProject.WorkgroupPaths
Samples
Query and create library paths |
The following sample demonstrates querying existing library paths associated with a project and adding a new library path. |
Version
Introduced in version 2011