Force Object to Adhere to Style
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've noticed that objects placed with a certain style stay active with that style even if the style gets replaced in the library.
There is currently no way that I have found to force it to adhere to the non-cached version of the style unless you switch it to a different style and then back.
This seems like a lot of extra work and is not very practical in programming it. It would be nice to have a method to remove the overrides to the object and force it to adhere to the new style (essentially doing the same thing as swapping it do a different style and then back, or deleting and replacing the object).
Steps to reproduce:
1. Place object with a style
2. Revise style of same name in a different file.
3. Copy the style over to the first document.
4. Notice how the object hasn't changed.
5. Swap the object off of that style, and then back to the style of the same name.
6. Notice it now adheres to the new style version.
--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization
iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread
Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects
Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help
Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type