I am programming using VBA in an Autodesk product. I am able to create an array based on a propertyset. The property set has an Enum. I am not familiar with Enums. Here is the code I am using to fill a list box with the names of each item within the property set. I would like to know how to extract the rest of the information.
Dim oApp As Application
Dim oCurrentDoc As Document
Set oApp = ThisApplication
Set oCurrentDoc = oApp.ActiveDocument
Set invDocList = ThisApplication.ActiveDocument
Set invSummaryInfoList = invDocList.PropertySets.item("Inventor Summary Information")
Dim MyiPropertyList
For Each MyiPropertyList In invSummaryInfoList
UserSetupFrm.LBiPropertyList.AddItem MyiPropertyList.name
Next
Below is the information listed under the Object browser:
Member of Inventor.PropertiesForSummaryInformationEnum
Author: String (VT_STR), Editable, UI on Summary Page, Always present (default=current login name), Creator of this file.
My code will display "Author" into my list. I would like to know how to get the rest of the information that pertains to the object. For example, String, Editable etc.
I would appreciate any assistance on this.
Dim oApp As Application
Dim oCurrentDoc As Document
Set oApp = ThisApplication
Set oCurrentDoc = oApp.ActiveDocument
Set invDocList = ThisApplication.ActiveDocument
Set invSummaryInfoList = invDocList.PropertySets.item("Inventor Summary Information")
Dim MyiPropertyList
For Each MyiPropertyList In invSummaryInfoList
UserSetupFrm.LBiPropertyList.AddItem MyiPropertyList.name
Next
Below is the information listed under the Object browser:
Member of Inventor.PropertiesForSummaryInformationEnum
Author: String (VT_STR), Editable, UI on Summary Page, Always present (default=current login name), Creator of this file.
My code will display "Author" into my list. I would like to know how to get the rest of the information that pertains to the object. For example, String, Editable etc.
I would appreciate any assistance on this.