Solved Ilogic Rule To Purge Unused Derived Parameters Autodesk Community
Solved Ilogic Rule To Purge Unused Derived Parameters Autodesk Community Solved: hi! i'm looking for a rule who purge all unused derived parameters in a part or all unused derived parameters parts in assembly!. Here is what i'm trying to do: i want to be able, using an ilogic rule, to delete the unused derived components in a part. different "objects" are derived in different derived components. sometimes it's parameters, blocks or sketches that for some reason are not used anymore in the part modeling.
Solved Purge Unused Options In Shared Parameters Autodesk Community Here is a working rule to derive all parameters from the base component to a derived part file. you can put in filters if you want to target only specific parameters to include exclude. To my amazement i've managed to coble together some ilogic code (copied from various places online) to purge (delete) all un used sheets, sheet formats, title blocks, borders and sketch symbols from a drawing. You need to iterate through all "derivedpartentitity" parameter objects, check if a parameter of the same name is "inuse", and if it's not then use the "includeentity" method on the "derivedpartentity" to remove it. I'm attempting before initializing a program to go through and purge out all the old data for that specific portion of my program. the only problem is that i keep getting this error message.
Delete Unused Derived Component Using Ilogic Autodesk Community You need to iterate through all "derivedpartentitity" parameter objects, check if a parameter of the same name is "inuse", and if it's not then use the "includeentity" method on the "derivedpartentity" to remove it. I'm attempting before initializing a program to go through and purge out all the old data for that specific portion of my program. the only problem is that i keep getting this error message. This allows me to run that process on the same group of parameters as many times as it takes to replace all parameter names from all expressions. i have not tested this yet though, so i am not 100% sure if it may be possible for it to cause an endless loop. I wrote a blog post a few weeks back, talking about suppressing unsuppressing & deleting ilogic rules, and i got asked on reddit if this could be applied to assemblies and components too. With the release of inventor 2015, we finally have an easy built in way of purging unused parameters in both assemblies and parts. in the parameters dialog box is the new purge unused command:. To access the parameter functions, expand the parameters node on the system tab in the snippets area of the ilogic edit rule dialog. this function changes parameter values directly. in assemblies, you can access parameters in suppressed components.
Solved Ilogic Purge Unused Sketched Symbols Autodesk Community This allows me to run that process on the same group of parameters as many times as it takes to replace all parameter names from all expressions. i have not tested this yet though, so i am not 100% sure if it may be possible for it to cause an endless loop. I wrote a blog post a few weeks back, talking about suppressing unsuppressing & deleting ilogic rules, and i got asked on reddit if this could be applied to assemblies and components too. With the release of inventor 2015, we finally have an easy built in way of purging unused parameters in both assemblies and parts. in the parameters dialog box is the new purge unused command:. To access the parameter functions, expand the parameters node on the system tab in the snippets area of the ilogic edit rule dialog. this function changes parameter values directly. in assemblies, you can access parameters in suppressed components.
Comments are closed.