- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm using FabricationRodInfo.SetRodLength() method to set rod lengths for FabricationPart Hanger, but I got the expection: "The rod length cannot be set because the hanger is set to automatically host to other elements."
I tried to un-host the hanger by calling FabricationPart.GetHostedInfo().DisconnectFromHost() then set rod length again, no luck, same exception. I also tried FabricationRodInfo.SetRodLockedWithHost(index, false) and verified FabricationRodInfo.IsRodLockedWithHost() is false, then set rod length, still no good, same exception.
So my question is: How to set FabricationPart Hanger to Non-auto-hosted? Which method should I call to make FabricationRodInfo.SetRodLength() work?
Solved! Go to Solution.