Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Femap API Connection Object

vvk_187

Student
Dec 11, 2024
3
Good afternoon! Femap 11.4.2. How to use the API to make a weld type contact, provided that the contact properties and contact regions are already set. Some of the properties of the contact are also already set (ID, color, propID, title, layer).

femap. Connection pConnection
pConnection pModel. feConnection;

pConnection. Get(pConnection.nextEmptyID()) ;

int ConnectionID=pConnection.ID;
pConnection. title=("Connection1"+c1+"Connection2"+c2) ;
pConnection. propID=1;

pConnection. Put(pConnection.nextEmptyID()) ;

Sample code is desirable.
Thank you.
 

Part and Inventory Search

Sponsor