Referencing custom iProperties created by Frame Generator

Referencing custom iProperties created by Frame Generator

Raider_71
Collaborator Collaborator
533 Views
5 Replies
Message 1 of 6

Referencing custom iProperties created by Frame Generator

Raider_71
Collaborator
Collaborator

Hi I am having difficulty referencing the Custom iProperties created by Frame Generator. I have written a small VB.net application to extract the custom iPorpoeties and it works for normal custom props but just not the ones created by F generator. I am trying to extract the values of CUTDETAIL1 and CUTDETAIL2 but when I try and reference them by name it does not work. If I run a For Each loop then I can see the name for these properties are in fact not as presented in the iProperties dialogue but something completely different.

 

CUTDETAIL1 was presented as something like "B67C9A1B-478A-9058-CRG34J6LD7B" for instance.

 

For each part I have checked it looks like CUTDETAIL1 and CUTDETAIL2 are presented by a unique number like the one above.

 

Please see sample part attached.

 

How can I pick up the value of these types of parameters?

 

Thanks!

0 Likes
Accepted solutions (2)
534 Views
5 Replies
Replies (5)
Message 2 of 6

bradeneuropeArthur
Mentor
Mentor
Please upload your code so I can investigate what is wrong.

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 6

Raider_71
Collaborator
Collaborator

Hi @bradeneuropeArthur

 

Thanks for the reply. Please see simplified solution attached.

0 Likes
Message 4 of 6

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Found:

 

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        If oApp.Documents.Count < 1 Then
            Exit Sub
        End If

        Dim oDoc As Inventor.Document = oApp.ActiveDocument

        Dim oCustomiProps As Inventor.PropertySet = oDoc.PropertySets.Item("{D5CDD505-2E9C-101B-9397-08002B2CF9AE}")

        For Each oCustProp As Inventor.Property In oCustomiProps

            'MessageBox.Show(oCustProp.PropId & ":" & oCustProp.Value.ToString & vbCrLf & oCustProp.Name & ":" & oCustProp.Value.ToString)

            MessageBox.Show(oCustProp.DisplayName & " :  " & oCustProp.Value.ToString)

        Next


    End Sub

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

Message 5 of 6

Raider_71
Collaborator
Collaborator

Ouch! Ok that was a rookie mistake... Man Very Happy

 

Thanks for the prompt reply and assistance!!!

0 Likes
Message 6 of 6

bradeneuropeArthur
Mentor
Mentor
Accepted solution
Could you please Mark as solved for administrative reasons. Thank you.

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