Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi. I got strange issue while trying to get Part or iPart data via Apprentice server under Excel x64.
First i tried to use this example (https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-ipart-value-from-ipart-table/m-p/5411...) but got error on this line:
Set oRow = oMember.Row
Then I wrote simple example sub:
Dim app As ApprenticeServerComponent
Dim oUParams As Object
Dim oDoc As ApprenticeServerDocument
Dim oDef As ComponentDefinition
Dim oiPart As iPartMember
Dim o_ As Object
Set app = New ApprenticeServerComponent
Set oDoc = app.Open("D:\test.ipt")
Set oDef = oDoc.ComponentDefinition
Set o_ = oDef.Parameters <- ERROR 445 Here "Object doesn't support this action"
I found a lot of identical examples that worked for others, so I think the trouble is not in the code.
Inventor 2023.
I tried to install apprentice 2023, and 2024. No result.
Any ideas? Where am I wrong?
Solved! Go to Solution.