Inventor Vb.Net "AddIn" dll - Get or Set Custom iProperties

Inventor Vb.Net "AddIn" dll - Get or Set Custom iProperties

isocam
Collaborator Collaborator
188 Views
1 Reply
Message 1 of 2

Inventor Vb.Net "AddIn" dll - Get or Set Custom iProperties

isocam
Collaborator
Collaborator

Can anybody help?

 

Does anybody know how to "get" or "set" custom iProperties using an Inventor Vb.Net "AddIn" dll?

 

Many thanks in advance!

 

Darren

0 Likes
189 Views
1 Reply
Reply (1)
Message 2 of 2

lucas_zhang_82
Advocate
Advocate

dim oDocument as document = your document

set value: oDocument.PropertySets(PropertySetName)(PropertyName).value = yourvalue

get value: needvalue = oDocument.PropertySets(PropertySetName)(PropertyName).value

 

PropertySetName and PropertyName you can see the attachment file

 

0 Likes