Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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

Status
Not open for further replies.

vvk_187

Student
Joined
Dec 11, 2024
Messages
8
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.
 
Solution
The issue is resolved!

Planes contact through properties "manually".
int contact[0..1] and object vcontact.
Solid through the "auto" function.
feConnectAuto2();
The issue is resolved!

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

Part and Inventory Search

Sponsor

Back
Top