Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Store the result of a boolean operation 2

Status
Not open for further replies.

ChessFalconer

Industrial
Oct 30, 2005
17
0
0
GB
Hellow

If i make a command like "vsbv,1,2" then a new line with a number is created. If i want to store the number of that line is there any way? I can see the number of the new line in ANSYS output window (not GUI) then I think there can be a way to store the name of the new line/es.

Thank you very much

PD I have this:

*DO,I,6,(n_l+n_l+n_c+3)
*If,mod(I,2),EQ,0,THEN
VSBV,1,I,DELETE,DELETE
*else
VSBV,4,I,DELETE,DELETE
*ENDIF
*ENDDO
and I want to store the result of each VSBV in a Var, for example VAR(1),VAR(2),...., and then use then in a LEMESH command.

Thank you very much
 
Replies continue below

Recommended for you

Just to add to what Doug said; _status and _return are actually scalar parameters. These parameters are intended to be used in conditional statements which it looks like you have in your macro. You can view these parameters by issuing *stat,_prm (since they're hidden parameters internal to Ansys).
 
Ok I will study in the help all you say,I will post my impresions them (probably tomorrow). Today unfortuanetly I had no time for ANSYS...
Thank you very much for the help!
 
Status
Not open for further replies.
Back
Top