Enable/Disable part through Ilogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Apparently the occurrences tab setting aren't easily accessible through the code snippets in ilogic.
How would one go about writing a rule that, in essense, would say:
If x = "whatever" then
occurrence.enabled = false
else
occurrence.enabled = true
end if
I've been reading that LOD's and suppression aren't the best course of action for assemblies especially when you're dealing with 20-40 parts as I am. I've got an assembly and parts controlled by a spreadsheet and when things are clicked off in the spreadsheet they need to be off in the model/drawings/bills etc. I have it working (to an extent) with suppression of parts in the assembly, but that casues LOD errors in the drawings. Research says parts are best disabled which is what i'm trying to do.
Thanks