Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am a newbie to Visual basic/inventor API. I am using Inventor PRO 2019 with visual studio 2017. I am trying to create custom content center families. There are properties I am putting on the family templates, who's values can be read from the family properties. For instance, when creating a new 45 deg threaded elbow family; I would like to get the size of the connections from the table, get the "threaded" end type from the family name, etc. My code breaks when trying to retrieve the property sets.
Imports System
Imports System.Type
Imports System.Activator
Imports System.Runtime.InteropServices
Imports Inventor
Module Module1
Sub Main()
Dim _invDoc As Inventor._Document
Dim customPropertySet = _invDoc.PropertySets.Item("Inventor User Defined Properties")
MsgBox(customPropertySet.ToString)
End Sub
End Module
Solved! Go to Solution.

