11-03-2023
08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-03-2023
08:59 AM
Hi @Daan_M,
I think the rule as written is running on all the documents that are referenced by other open documents in Inventor. I'm not sure if that's what you intend or not, it might be.
In any case, I think you just want to change line 54 ( or at least line 54 it is in your post) from :
iProperties.Value(oPropertyType, oProperty) = oSetValue
iProperties.Value(oPartDoc.fullfilename, oPropertyType, oProperty) = oSetValue
As you had it, it was changing the property in the document from which the rule was run.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com