Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

FEMAP API - Create RBE3

Pioneer
Pioneer

I'm missing something in my code which is not letting weighting factor to be assinged a value of 1. I have the code attached aand as you can see when i step through the code i see a value of "1" assigned to weighting factor of all independent nodes. In the Femap, i see only 0. The samething with independent node DOF release. I dont see my node releases in my code getting translated to FEMAP. I'm Appreciate any help. Thank you.

5 REPLIES

Re: FEMAP API - Create RBE3

Siemens Phenom Siemens Phenom
Siemens Phenom

I'm not seeing a problem with your code.  Maybe you can try setting up an RBE3 via the GUI then use ".GetNodeList" to see how the values are supposed to populate.  

Re: FEMAP API - Create RBE3

Pioneer
Pioneer

I did check using getnodelist with correct node releases and it looks the same as what i've assigned.

Re: FEMAP API - Create RBE3

Siemens Phenom Siemens Phenom
Siemens Phenom

Change:

 

Dim facearray As Long

 

 

To:

 

Dim facearray As Integer

 

That should hopefully solve your problem.  Also, if you use a return code before ".PutNodeList" it can be helpful in debugging:

 

Long.png

 

 

 

Integer.pngRC.png

Re: FEMAP API - Create RBE3

Pioneer
Pioneer
Not just Facearray, I also had to change dof to integer to get it to work.

Dim facearray As Integer
Dim dof((6 * NodeCount) - 1) As Integer

Re: FEMAP API - Create RBE3

Pioneer
Pioneer

Thank you.