cancel
Showing results for 
Search instead for 
Did you mean: 

How to creat an instance of TxKinematicLink

Creator
Creator

I have tried

 

TxKinematicLink link = new TxKinematicLink();

 

But gaving error"TxKinematicLink doesn't contain a constrcutor that takes 0 agrgument"

 

Thanks,

2 REPLIES

Betreff: How to creat an instance of TxKinematicLink

Legend
Legend

You have to call the CreateLink method of the component!

TxKinematicLinkCreationData linkCreationData = new TxKinematicLinkCreationData("myLinkname");
TxKinematicLink link = component.CreateLink(linkCreationData);

Re: How to creat an instance of TxKinematicLink

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Jinglin,

 

I suggest that you watch the videos under the Knowledge Base section. You will get an idea of the API model and how to use it.

 

Best Regards,

DianaG