Copy a vcBehaviour object from one to another component

Hi there,

I was wondering if there is a possibility to add vcBehaviour objects to an existing component?

 

Thanks in Advance!

Patrick

Hello Patrick,

 

Yes that is possible to do with Python, but you require to have VC Professionals to do it.

For example in a vcScript after you get a handle of a vcNode.

beh1 = node.createBehaviour(type,“Name”)

You can find more info in the VC help document (F1). Check the vcNode class, which contains the method createBehaviour for more information

BR,

Holms