Community
Solved! Go to Solution.
Hi Rikard,
Try this : Intent.IntentAPI.Utilities.GetPart(Intent.RefChainFromHostObject(A_ComponentOccurrence))
Hopes this helps,
Mark
Thanks Mark!
I had to do some modifications to make it work.
Below is my solution if anyone else need to know this..
/Rikard
IHostAPI hapi = (IHostAPI)IntentAPI.Instance.HostAPI;
string refChain = hapi.RefChainFromHostObject(PickedPartOcc);
Part TestPart = IntentAPI.Instance.Utilities.GetPart(refChain);