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

You might want to look at this post "iProperties Without Inventor (Apprentice)". In the post, they use vb.net. I translated to C# (but did not test it.) it looks something like this:

Inventor.ApprenticeServerComponent apprentice = new Inventor.ApprenticeServerComponent();
Inventor.ApprenticeServerDocument apprenticeDoc = apprentice.Open(Filename);

Inventor.PropertySet summaryPropSet = apprenticeDoc.PropertySets["Inventor Document Summary Information"];
Inventor.Property companyProp = summaryPropSet["Company"];
companyProp.Value = "www.hjalte.nl";

apprenticeDoc.PropertySets.FlushToFile();

apprenticeDoc.Close();

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com