Share

InventorVBAProject Object


Description

Represents Autodesk Inventor's VBA project.

Methods

Name Description
Close Method that closes this project. Please note that this method works only for user-defined VBA projects. It will not work with Application or Document VBA projects, which are built in.
Save Method that saves the VBA project.
SaveAs Method that saves the project to a specified location. Please note that this method works only for user-defined VBA projects. It will not work with Application or Document VBA projects, which are built in.

Properties

Name Description
InventorVBAComponents Gets the InventorVBAComponents contained in this project.
Name Gets/Sets the projects display name.
Parent Property that returns the parent object from whom this object can logically be reached.
ProjectType Property that returns a constant specifying the type of VBA project this project is.
Saved Property that indicates if this project has been saved or not.
Type Returns an ObjectTypeEnum indicating this object's type.
VBProject Property that returns the VBA project that corresponds to this InventorVBAProject.

Accessed From

AssemblyDocument.VBAProject, Document.VBAProject, DrawingDocument.VBAProject, InventorVBAComponent.Parent, InventorVBAComponents.Parent, InventorVBAProjects.Add, InventorVBAProjects.Item, PartDocument.VBAProject, PresentationDocument.VBAProject

Version

Introduced in version 6

Was this information helpful?