❗ - INVGEN-63057 broke my code in Inventor 2023.2

❗ - INVGEN-63057 broke my code in Inventor 2023.2

CattabianiI
Collaborator Collaborator
376 Views
2 Replies
Message 1 of 3

❗ - INVGEN-63057 broke my code in Inventor 2023.2

CattabianiI
Collaborator
Collaborator

I used to edit iProperties of ipart/iAssembly instance via iLogic/addIn, and now is not possible anymore: 

Blocked changing an ipart/iassembly instance display name and iproperties from API. INVGEN-63057

Why? I need a way to do it again as soon as possible!

0 Likes
377 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor

Could you share the code and the file for testing.

Look not ideal.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 3

CattabianiI
Collaborator
Collaborator

It's very easy to reproduce.
Open an assembly containing an iPart member (not a custom one).
Just set an iProp on that occurrence.

Here's a video:



Here's the code:

Dim oSS As SelectSet
oSS = ThisApplication.ActiveDocument.SelectSet

Dim occ As ComponentOccurrence = oSS.Item(1)
Dim doc As Document = occ.Definition.Document

Dim pset As PropertySet = doc.PropertySets.Item(1)

Dim titleiProp As [Property] = pset.Item(1)
titleiProp.Value = DateTime.Now.ToShortTimeString

 

0 Likes