It's all about the answers!

Ask a question

Hierarchical Components - Programmatic hierachy creation

Hubert Aunkofer (383) | asked Jul 13 '15, 7:29 a.m.
How do I programmatically create a hierarchy of components in RTC 6.0?

There is the API call getComponentHierarchy (in IFlowNodeConnection)

I couldn't find a "addSubcomponent" call as it is possible within the eclipse client.

Accepted answer

permanent link
DJ Houghton (2663) | answered Jul 14 '15, 11:25 a.m.
Take a look at IWorkspaceConnection#updateSubcomponentData. It extends IFlowNodeConnection and you can add/remove components through this API.
Hubert Aunkofer selected this answer as the correct answer

Your answer

Register or to post your answer.