How to set FabricationPart Hanger to Non-auto-hosted?

How to set FabricationPart Hanger to Non-auto-hosted?

Rui_Tang-Symetri_USA
Participant Participant
596 Views
1 Reply
Message 1 of 2

How to set FabricationPart Hanger to Non-auto-hosted?

Rui_Tang-Symetri_USA
Participant
Participant

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?

0 Likes
Accepted solutions (1)
597 Views
1 Reply
Reply (1)
Message 2 of 2

Rui_Tang-Symetri_USA
Participant
Participant
Accepted solution

I found my own answer.

 

Set FabricationRodInfo.CanRodsBeHosted = false and it will work.

0 Likes