- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am looking to write a program which will replicate the functions for Update Styles and Purge Styles, but I am struggling to find what classes within the Part Document to look into for each (ie RenderStyles, MaterialAssets, AppearanceAssets, etc.), and how to use them.
Could anyone tell me which class(es) I should look at?
And once I have them, what methods should I call that is similar to Update Styles and Purge Styles? I am hoping it is easy as .UpdateFromGlobal for Update Styles and .Delete for Purse Styles, but I would appreciate any information.
Note: I am aware there exists code that replicates both functions by using SendKeys, and they work great for one part, but if I try to use it for a list of parts it starts to fall apart as you may expect a SendKeys program to do.
Solved! Go to Solution.