- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to make an ilogic which should be run from a part and will cycle trough every feature (extrusion/planes etc.) and switch adaptive off I think I'm almost there but I'm getting an error.
I don't want to switch off in the documents settings I want to keep the link for future reference.
here is what I'm trying, I'm trying to learn by myself and trying to combine codes from every where š
The next one I will try to do is the same but trough an assembly file and for parts and assemblies that have a normal bom structure, I have one that does that for every file but trough the documents settings and breaks the links.
My main point is to not break the link because I might want to use that project for other things and might need to activate them.
Dim oFeature As PartFeature oFeatures = ThisApplication.ActiveDocument.ComponentDefinition.Features For Each oFeature In oFeatures 'get the name of the feature oName=oFeature.Name If oName.Adaptive = True
oName.Adaptive = False End If Next
thanks!
Solved! Go to Solution.