How can get a list of all element tags of a specific type?

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
MikeITExpert
Posts: 24
Joined: Sat Aug 21, 2021 9:19 pm

How can get a list of all element tags of a specific type?

Post by MikeITExpert » Tue Aug 24, 2021 1:40 am

Hi All,

Is there any command in Opensees so as to get a list of all element tags whose type is twoNodeLink?

I searched before I ask the question, though it might be documented somewhere I did find. Let me know if there is any document section or sth explaining queries regarding available nodes, elements, martials etc.

I know print command would potentially help, however, I don't want to go through text processing of print output. (I am newbie in tcl programming)

Any comment is much appreciate it.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: How can get a list of all element tags of a specific type?

Post by fmk » Tue Nov 02, 2021 9:48 pm

it is not a feature that is available from the command line .. it is of course something you could do in your script that creates the model

Post Reply