Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep 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
7
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.
 
Replies continue below

Recommended for you

The issue is resolved!

Planes contact through properties "manually".
int contact[0..1] and object vcontact.
Solid through the "auto" function.
feConnectAuto2();
 
Solution

Part and Inventory Search

Sponsor