Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: arkelec

Hi @arkelec.  Member is the 'Heading' of an iPartTableColumn within the iPartTable that you get from the iPartFactory object.  It is not a regular iProperty, because there is a different value in each row of the table.  If you were in an iPart 'member' file, then there would only be one value...the name of the 'member' you have open.  Below is an example of getting to one of these cells within the table, when working from the iPart factory document.  This is just getting the first row in the table, not looping through every row in the table.  This is almost identical to navigating the ModelStatesTable, and similar to navigating a PartsList in a drawing.

Dim oPDoc As PartDocument = ThisDoc.Document
Dim oPDef As PartComponentDefinition = oPDoc.ComponentDefinition
Dim oFactory As iPartFactory = oPDef.iPartFactory
Dim oRow As iPartTableRow = oFactory.TableRows.Item(1)
Dim oCell As iPartTableCell = oRow.Item("Member") '"Member" is the Heading of the iPartTableColumn
Dim oMember As String = oCell.Value
MsgBox("oMember = " & oMember, vbInformation, "iPart Row Member")

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)