10-22-2020
07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-22-2020
07:06 AM
I don't think you can make the subassembly always flexible on place... You can however run this code in the main assembly after you've placed your components to make the subassemblies starting with "StandardLeg" flexible ![]()
Dim oAsm As AssemblyDocument = ThisDoc.Document For Each oOcc As ComponentOccurrence In oAsm.ComponentDefinition.Occurrences Try If oOcc.Definition.Document.DocumentType = DocumentTypeEnum.kAssemblyDocumentObject _ AndAlso oOcc.Name.StartsWith("StandardLeg") Then oOcc.Flexible = True Catch End Try Next
Jhoel Forshav
Download my free Inventor Addin - Hole Projector
LinkedIn | Ideas | Contributions | Blog posts | Website