To make the component flexible in assembly

To make the component flexible in assembly

Anonymous
Not applicable
783 Views
4 Replies
Message 1 of 5

To make the component flexible in assembly

Anonymous
Not applicable

Is there a API for making the component in assembly flexible. Here in my case in the nut and bolt assembly to lead support i want to make the nut flexible. How can i achieve this , i need information which API i need to use.

0 Likes
784 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

Hi, this should do the trick:

 

Dim doc As AssemblyDocument = ThisDoc.Document

Dim oAsmCompDef As AssemblyComponentDefinition = doc.ComponentDefinition

Dim oOcc1 As ComponentOccurrence = oAsmCompDef.Occurrences.ItemByName("nut") 'replace "nut" with your part number

oOcc1.Flexible = True

 

Message 3 of 5

Anonymous
Not applicable

Thank you!!

0 Likes
Message 4 of 5

Anonymous
Not applicable
I am trying to model a flexible bow limb infusion 360 and need some advice on how to accomplish this.
0 Likes
Message 5 of 5

MechMachineMan
Advisor
Advisor

Adaptivity, if that exists in fusion, is probably the only way to accomplish it.

 

This is the Inventor Forums though, not the Fusion forums, which is likely the better place to be asking.

 

https://forums.autodesk.com/t5/fusion-360/ct-p/1234


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
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
0 Likes